Re: [csswg-drafts] [selectors][css-text] `::after-letter(an+b)` or `::before-char()` (#10898)

What if the element contains a mix of text and children elements? Would you keep counting letters recursively into the children and insert there? What style would it use then, the one from the pseudo-element, the one from the nested element, or a broken mix like `::first-line`?

Also, I suspect authors will commonly want to skip trimmed whitespace rather than just counting unicode code points. And possibly count combined characters as a single one?

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


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

Received on Monday, 16 September 2024 10:47:34 UTC