Re: [csswg-drafts] [css-selectors] Standardize `:(‑moz‑)first‑node` and `:(‑moz‑)last‑node` (#3216)

Another example:

```css
li > p:-moz-first-node,
dd > p:-moz-first-node {
  margin-block-start: 0;
}
li > p:-moz-last-node,
dd > p:-moz-last-node {
  margin-block-end: 0;
}
```

```html
<ul>
  <li>1st item</li>
  <li>
    <p>2nd item</p>
    <ul>
        <li>Another</li>
        <li>List</li>
    </ul>
    <p>Extra description</p>
  </li>
  <li>3rd item</li>
</ul>
```

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


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

Received on Tuesday, 3 December 2024 10:45:58 UTC