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

Crissov has just created a new issue for https://github.com/w3c/csswg-drafts:

== [selectors][css-text] `::after-letter(an+b)` or `::before-char()` ==
There have been several proposals for text or character matching pseudo-elements, which is computationally expensive, in the past, but as far as I can see there is no proposal yet for a simpler pseudo-element that is *inserted* before or after the *n*th ”letter“ or rather character. 

One (weak) use case for this are indicators for boundaries, e.g. where you would need to split a text to fit it into, e.g., 140-, 160- or 280-char messages.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10898 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 07:29:50 UTC