Re: [csswg-drafts] [css-selectors][css-namespaces] Lexical Scoping (#4061)

@cherscarlett Which selectors do you have in mind?

* I think tagname selectors should continue to be in the html default namespace.
* For generic attribute selectors, there's already a syntax to refer to an attribute in a namespace so those can use `[local|foo="bar"]` or one of the other namespaces assigned via import.
* The `*` selector selects all elements, if it only selected elements with a class in the stylesheet namespace then the better selector to use in that case would be `[local|class]`.
* pseudo-element and psuedo-class selectors don't have a relevant namespace.

-- 
GitHub Notification of comment by chriseppstein
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4061#issuecomment-520942042 using your GitHub account

Received on Tuesday, 13 August 2019 18:01:35 UTC