Re: [csswg-drafts] [selectors] Declarative custom `:state()` states (#12502)

Presumably this would need some restrictions to avoid cycles:

```css
@state heading {
 matches: :state(heading);
}
```

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


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

Received on Saturday, 19 July 2025 16:38:18 UTC