Re: [csswg-drafts] [css-contain] Style containment for counters (#9212)

That's probably because implementations are buggy? You can see new counter instances in this simpler case:

```html
<style>
div::before {
  content: counters(foo, ".", decimal);
}
</style>
<div style="counter-increment: foo">
  <div style="contain: style">
    <div style="counter-increment: foo"></div>
  </div>
</div>
```

```
1
1
1.1
```



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


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

Received on Wednesday, 27 September 2023 19:10:44 UTC