Re: [csswg-drafts] [css-lists] CSS counter scope/inheritance is incompatible with HTML ordinals (#5477)

A WPT change regarding this behavior was proposed here: https://chromium-review.googlesource.com/c/chromium/src/+/5661343

The WPTs here are not yet interoperable: https://wpt.fyi/results/html/semantics/grouping-content/the-li-element?label=master&label=experimental&aligned&q=html%2Fsemantics%2Fgrouping-content

Can someone confirm whether the chromium/webkit or firefox rendering of this is correct? I'm not sure based on the thread of reversing the resolution here, and this doesn't seem to match up perfectly to the example in the OP.
```html
<style>
  body { margin-left: 40px }
  li { list-style-type: decimal }
</style>
<li></li>
<li></li>
<li></li>
<li></li>
<div>
  <li></li>
</div>
<div>
  <div>
    <li></li>
  </div>
</div>
```

Chromium/webkit:
<img width="139" alt="Screenshot 2024-06-28 at 5 50 27 AM" src="https://github.com/w3c/csswg-drafts/assets/7681467/8e2f479c-738d-4a97-8f8d-cb39437054f6">

Firefox:
<img width="139" alt="Screenshot 2024-06-28 at 5 50 41 AM" src="https://github.com/w3c/csswg-drafts/assets/7681467/8bb69e24-e12d-4c59-bf9f-3b6cb5790000">


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


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

Received on Friday, 28 June 2024 12:52:11 UTC