Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Errors on Shadow DOM's new ^ and ^^ combinators #238

Closed
emagnier opened this issue Jan 7, 2014 · 4 comments
Closed

Errors on Shadow DOM's new ^ and ^^ combinators #238

emagnier opened this issue Jan 7, 2014 · 4 comments

Comments

@emagnier
Copy link

emagnier commented Jan 7, 2014

Orignally filed by @ebidel on compass at: Compass/compass#1490 and then by @chriseppstein on sass at: sass/sass#1071.

Shadow DOM's next Cat (^^) and Hat (^) selectors throw compiler errors. With it, one can write rules that penetrate the shadow boundary:

x-tabs ^^ h2 {
  ...
}

x-tabs ^ x-panel ^ h2 {
   ...
}

Reference:
http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom-201/#toc-style-cat-hat

@jmesserly
Copy link

fyi -- syntax might change (again): http://lists.w3.org/Archives/Public/www-style/2014Jan/0603.html

@wrumsby
Copy link

wrumsby commented Aug 18, 2014

The new syntax is supported by Sass - see sass/sass#1071.

@wrumsby
Copy link

wrumsby commented Aug 22, 2014

#452 appears to be a duplicate of this issue although this issue mentions the no longer supported syntax so I would recommend closing this issue in favour of #452.

@malrase
Copy link

malrase commented Oct 7, 2014

Yeah, we agree with closing this issue in favour of #452 .

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

No branches or pull requests

6 participants