Skip to content

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

Closed
@mirisuzanne

Description

@mirisuzanne

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions