W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

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

From: Chris Eppstein via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Aug 2019 18:01:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-520942042-1565719292-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:52 UTC