[css-cascade-6] What is the desired shape of CSSScopeRule? · Issue #8626 · w3c/csswg-drafts (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
In #8468 @andruud pushed a spec definition for adding CSSScopeRule
to CSSOM:
[Exposed=Window]
interface CSSScopeRule : CSSGroupingRule {
readonly attribute CSSOMString start;
readonly attribute CSSOMString end;
};
As far as I can tell, this change in the spec never had a resolution attached – so bringing it up here to get that resolution. In conversation with @fantasai, she also raised a few questions about the final shape of this rule:
- Is 'start'/'end' the terms we want? Or do we want 'root'/'floor', or any number of other things. Since this is the only place in which the terminology is actually user-facing, it becomes a real question.
- Should they return null string or null if they're missing?
- Do they include the wrapping parentheses or not?