[Webkit-unassigned] [Bug 179815] ::first-letter should include preceding punctuation and space separators

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 18 06:08:51 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=179815

--- Comment #7 from Johannes Odland <johannes.odland at nrk.no> ---
Forgot to update this issue, but the spec was updated a while ago to include all punctuation characters:

https://www.w3.org/TR/css-pseudo-4/#first-letter-pattern

```
Preceding and following punctuation must also be included as part of the first-letter text in the ::first-letter pseudo-element as follows:

All punctuation—i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]—that precedes the first letter.
Any punctuation other than opening punctuation and dashes—i.e. characters that belong to the Punctuation (P*) Unicode general category, excluding Open Punctuation (Ps) and Dash Punctuation (Pd)—that follows the first letter.
Any intervening typographic space—i.e. characters that belong to the Zs Unicode general category [UAX44] other than U+3000 IDEOGRAPHIC SPACE or any word-separator characters
```

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230118/b62e643a/attachment-0001.htm>


More information about the webkit-unassigned mailing list