- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Wed, 01 Feb 2023 22:53:23 +0000
- To: public-css-archive@w3.org
> how close is the final matched element to the nearest scope root?
I still don't think that's clear.
```css
@sibling-scope (.a) {
@scope (.b) {
.c { color: blue }
}
}
```
```html
<div class="a"></div>
<div class="b" id="b1">
<div class="b" id="b2">
<div class="c"></div>
</div>
</div>
```
Does it mean that the rule will not apply, since the closest `.b` has no `.a` previous sibling?
Does it mean that the rule will apply, matching `.b` as `#b1`, but for the number of `>>` hops we use `#b2`? Do we also count the number of `~~` hops from `#b2` (NaN?) ?
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8380#issuecomment-1412852420 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 1 February 2023 22:53:25 UTC