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

```css
.deprecated {
  padding: 0.4em;
  background-color: #dd0000;
  margin-inline: 0.5em;
  color: white;
  font-size: 90%;
  border-radius: 0.6em;
  display: inline-block;
  font-family: sans-serif;
  font-weight: bold;
}

.deprecated:-moz-first-node {
  margin-inline-start: 0;
}
```

```html
<p>
  <span class="deprecated">Deprecated</span>This feature is ...... Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<p lang="ja-jp">
  この機能は<span class="deprecated">Deprecated</span>です。
</p>
```

![image](https://github.com/user-attachments/assets/905a96e0-8fe6-4e5b-a4ba-44736419925c)


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


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

Received on Thursday, 7 November 2024 11:55:05 UTC