Re: [csswg-drafts] [css-pseudo-4] Allow intervening space and no-break space in ::first-letter, preceding the letter (#9413)

> Sounds like a use case for [`text-autospace: punctuation replace`](https://www.w3.org/TR/css-text-4/#text-autospace-property). :]

`text-autospace` sounds like a powerful tool to correct the source spaces, but I'm not quite sure if it would solve the current use case. (I would be delighted if it did).

Both  space (U+0020) and no-break space (U+00A0) are excluded from the set of spaces that can intervene the punctuation and the first letter.

I don't think there's another typographic space with the correct width we can replace them with? In a variable font, the width of space and no-break space would adapt as the width of the font is adjusted. Typographic spaces like  Four-Per-Em Space (U+2005) would not change?

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


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

Received on Wednesday, 13 November 2024 19:23:51 UTC