- From: Felix Becker via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Feb 2019 09:06:49 +0000
- To: public-houdini-archive@w3.org
I was surprised to see that the css typed om spec did not include a selector class. Currently, APIs like `CSSStyleSheet.insertRule()` and `CSSStyleRule.selectorText` all represent selectors as strings. But especially with shadow roots, I see many use cases for manually constructing and inspecting these. For example, I may want to copy all rules for a `.btn` class in a stylesheet to a shadow root. For that, I currently need to filter rules by a regex on the selector. -- GitHub Notification of comment by felixfbecker Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/96#issuecomment-467782104 using your GitHub account
Received on Wednesday, 27 February 2019 09:06:51 UTC