Re: [csswg-drafts] [cascade-6] Unclear proximity for scoped descendant combinator (#8380)

  @Loirooriol Using the "nearest scope is what determines proximity" mode, I suppose your example would go like this:

   - A sibling scope is created at `.a`.
   - `@scope (.b)` only produces scopes for elements that are siblings of `.a`, so we get a scope at `#b1` and no scope at `#b2`.
   - The proximity of `.c` is the distance to the nearest enclosing scope (`#b1`), i.e. `2`.

(Unless I've misunderstood how `@sibling-scope` should work).

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


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

Received on Thursday, 2 February 2023 00:31:13 UTC