[csswg-drafts] [css-cascade-6] What is the desired shape of CSSScopeRule? (#8626)

mirisuzanne has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-cascade-6] What is the desired shape of CSSScopeRule? ==
In https://github.com/w3c/csswg-drafts/pull/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?


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8626 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 21 March 2023 16:11:05 UTC