Re: [csswg-drafts] [css-pseudo-4] Fine-tuning ::first-letter punctuation pattern matching (#5830)

@fantasai Upon revisiting the resolution on this issue, I've identified a potential oversight that could significantly affect Norwegian typography.

The decision to exclude both the regular space (U+0020) and the no-break space (U+00A0) from either side of the letter inadvertently limits the utility of the ::first-letter pseudo-element for Norwegian texts. In Norwegian typography, direct speech is often indicated with an n-dash that's separated from the subsequent character by a space. (As discussed in https://github.com/w3c/csswg-drafts/issues/5154) Due to the challenges of entering special characters on many devices, authors often resort to using a regular space or, _at best_, a no-break space between the n-dash and the first letter.

By excluding these spaces before the letter, we risk rendering the `::first-letter` pseudo-element less practical for Norwegian content. Given that other languages, such as French, also utilize spaces between punctuation and the initial letter, this decision might have broader implications. I genuinely believe this deserves another look. Would it be possible to reevaluate this decision?"


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


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

Received on Monday, 18 September 2023 18:58:08 UTC