Re: [csswg-drafts] [css-nesting][selectors] Behavior of & at the root of a stylesheet (#10287)

Just in time when I am sharing another quirk around "&": https://twitter.com/ChallengesCss/status/1787931976663466068

```css
&& {
  /* will select the html element */
}
&&&& {
  /* will also select the html element */
}
&&&&&&& {
  /* I think you get the idea */
}

/* All the above have the same specificity */
```

I suppose Safari will make all the above having a different specificity? Can you test it please? I cannot.

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


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

Received on Tuesday, 7 May 2024 20:04:05 UTC