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

@contentfree That seems a different feature, maybe `:has(:+ text)` from #7346 as Sebastian said.

But anyways, `div { margin-trim: inline } img { margin-right: 1em }` seems a better approach. See https://drafts.csswg.org/css-box-4/#margin-trim

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2208#issuecomment-1892791836 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 21:40:09 UTC