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

@Loirooriol [This test case](https://github.com/web-platform-tests/wpt/blob/master/html/semantics/grouping-content/the-li-element/grouping-li-reftest-list-owner-parent.html) is failed on Firefox. Is Firefox's behavior correct based on the above description?
```html
<style>
  li {
    list-style-type: decimal;
    list-style-position: inside;
  }

  .container {
    padding: 50px;
  }
</style>
<div class="container">
  <li>A</li>
  <li>B</li>
  <div>
    <li>C</li>
    <span>
      <li>D</li>
    </span>
  </div>
  <blockquote>
    <li>E</li>
  </blockquote>
  <li>F</li>
</div>
```
Chromium/Webkit:
![image](https://github.com/user-attachments/assets/6ebcf392-ec55-4872-ac9f-fc907caa618e)
Firefox:
![image](https://github.com/user-attachments/assets/2aead8de-c44c-4793-9409-9f4cdabae89c)



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


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

Received on Sunday, 4 August 2024 16:46:18 UTC