Re: [csswg-drafts] [css-pseudo-4] ::first-letter should include space separators (#5154)

Current spec prose for reference: 

> Punctuation (i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]) that precedes or follows the first typographic letter unit must also be included in the ::first-letter pseudo-element.

I believe the pattern we want to collect is: ` (P+Z*)?[LN]+(Z*P+)?` (where each letter stands for its Unicode category). So proposed wording:

> Punctuation (i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]) that precedes or follows the first typographic letter unit<ins>, as well as any intervening space separators (characters that belong to the Spaces (Zs) Unicode general category),</ins> must also be included in the ::first-letter pseudo-element.

Agenda+ to confirm.

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

Received on Thursday, 9 July 2020 07:00:42 UTC