Summary: | Certain special characters causes the ::first-letter CSS selector to overflow to multiple characters | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Duncan McKenna <duncan.mckenna> | ||||
Component: | Text | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED INVALID | ||||||
Severity: | Minor | CC: | bfulgham, mmaxfield, simon.fraser, webkit-bug-importer, zalan | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | Safari 13 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Duncan McKenna
2020-01-08 04:00:02 PST
This is intentional, and per-spec. https://drafts.csswg.org/css-pseudo-4/#first-letter-pseudo "Punctuation (i.e, characters that belong to the Punctuation (P*) Unicode general category [UAX44]) that precedes or follows the first typographic letter unit and any intervening space separators (characters that belong to the Zs Unicode general category [UAX44]) must also be included as part of the first-letter text in the ::first-letter pseudo-element." |