Re: [csswg-drafts] Add a new pseudo-element ::NEXT (#13856)

Related proposal: #2406 

```html
<ul>
 <li>Item 1
 <li>Item 2
 <li>Item 3
 <li>Item 4
</ul>
<style>
ul li { display: contents }
ul li::contents { content: normal; display: list-item }
ul li:not(:last-child)::after { content: '|' }
</style>
```


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


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

Received on Tuesday, 5 May 2026 01:59:52 UTC