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

Add support for CSS Scoping module #81

Closed
strarsis opened this issue Feb 25, 2017 · 5 comments
Closed

Add support for CSS Scoping module #81

strarsis opened this issue Feb 25, 2017 · 5 comments

Comments

@strarsis
Copy link

strarsis commented Feb 25, 2017

https://www.w3.org/TR/css-scoping-1/
The deep combinator seems to be often used in SVGs.

Currently these deep combinator selectors cause a SyntaxError in underlying css-what.

@fb55
Copy link
Owner

fb55 commented Mar 7, 2017

Not sure about issue 6:

This is basically a super-descendant combinator. If the descendant combinator had a real glyph, it would potentially be interesting to just double it. Maybe we can give the descendant combinator a pseudonym of >>, as it itself is a super-child combinator? Then /deep/ could be spelled >>>

Does that mean that the syntax is about to be changed? Should we implement this right now?

:scope is already supported, the deep combinator seems a bit harder. Besides the syntax question, as there is no implementation of something shadow DOM-alike, what would the semantics be? Just continue as if it wasn't there?

@strarsis
Copy link
Author

strarsis commented Mar 7, 2017

For shadow DOM support, the existing API would need additional optional methods like getShadowRootElement().

@fb55
Copy link
Owner

fb55 commented Apr 2, 2017

Sorry for leaving this hanging. Having this in the adapter seems like a good idea, PRs welcome :)

@strarsis
Copy link
Author

@fb55
Copy link
Owner

fb55 commented May 17, 2017

That's sad. I guess if there isn't a replacement this can be closed?

@fb55 fb55 closed this as completed Jan 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants