Re: [csswg-drafts] [css-pseudo][css-writing-modes] Should we have `:writing-mode()` pseudo selector? (#12939)

This would introduce circularities if it refers to the same element:

```css
:writing-mode(horizontal-tb) {
  writing-mode: vertical-rl;
}
:not(:writing-mode(horizontal-tb)) {
  writing-mode: horizontal-tb;
}
```

If it refers to the parent then we already have `@container style()`

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


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

Received on Sunday, 12 October 2025 20:19:33 UTC