Re: [csswg-drafts] [css-cascade-6] Add implicit scopes (#8463)

@mirisuzanne Please have a look.

I felt that I had to reorganize a bit here to make a natural place for "implicit" scopes to live.

Description of changes:

 - A scope should probably have a _single_ scoping root. However:
 - A single `@scope` rule can produce multiple (explicit) scopes. Or a single implicit scope.
 - Removed the circular or near-circular sentence "selectors are scoped to the given scope, with the :scope element being the scoping root" which Emilio complained about at some point (somewhere).
 - Avoid selector-4's definition of "scoped" for now, because it does not clarify what it means by "descendant", and does not account for scoping limits.
 - Beautify the grammar part of the spec.

Hopefully it's more or less to your liking.

-- 
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/8463#issuecomment-1433937020 using your GitHub account


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

Received on Friday, 17 February 2023 00:46:54 UTC