Re: [csswg-drafts] [css-pseudo-5] ::text / ::text-node pseudoelement (#2208)

Just wanted to add another example where this would be useful. I'm pretty sure there's currently no (CSS-only) way to distinguish between these to only add right-margin to the `img` in the first `div`:
```
<div>
  <img /> 
  Some label
</div>

<div>
  <img />
</div>
```

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


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

Received on Monday, 15 January 2024 18:51:28 UTC