Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Host selector regression in 3.4.5 (since 3.4.0): :host(:not(.foo)) #2464

Closed
ochafik opened this issue Aug 8, 2017 · 4 comments · Fixed by #2498
Closed

Host selector regression in 3.4.5 (since 3.4.0): :host(:not(.foo)) #2464

ochafik opened this issue Aug 8, 2017 · 4 comments · Fixed by #2498

Comments

@ochafik
Copy link

ochafik commented Aug 8, 2017

The following works in 3.4.0 but not in 3.4.5:

:host(:not(.foo)) {
  left: 0;
}

(3.4.5 outputs {left:0} here!)

@mgreter
Copy link
Contributor

mgreter commented Aug 8, 2017

This is already fixed on latest master. It also seems that sass 3.5 does not support this (beside 3.4 and 4.0 looking ok, only checked via sassmeister)

@mgreter mgreter closed this as completed Aug 8, 2017
@ochafik
Copy link
Author

ochafik commented Aug 8, 2017

Just to clarify:

  • Still broken in branch master ; I've bisected the regression to the hotfix 2d640a7
  • Broken in branch 3.4-stable
  • Works in branch 3.4.x

@ochafik
Copy link
Author

ochafik commented Aug 8, 2017

Could this bug please be reopened until master branch is fixed?

@mgreter
Copy link
Contributor

mgreter commented Aug 9, 2017

Thanks for checking, can confirm this regressed once more. Unfortunately we probably will not be able to fix it without regressing other more common use cases in a forseeable future. See #2055. As said in my initial comment, this does not seem to be supported by original ruby sass 3.5, although it seems to be in 3.4 and 4.0 (as checked via sassmeister).

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants