[Webkit-unassigned] [Bug 216963] New: ::first-letter should include preceding punctuation and space separators
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 24 23:31:12 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=216963
Bug ID: 216963
Summary: ::first-letter should include preceding punctuation
and space separators
Product: WebKit
Version: Safari 14
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: johannes.odland at nrk.no
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 409660
--> https://bugs.webkit.org/attachment.cgi?id=409660&action=review
Screen shot from example
Characters in the P* category and intervening space separators should be included in the ::first-letter pseudo element:
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 in the ::first-letter pseudo-element.
Steps to reproduce:
1. Go to https://codepen.io/johannesodland/pen/LYGYWyY
Expected result:
The second ::first-letter pseudo element should contain "« V"
The third ::first-letter pseudo element should contain "– P"
Actual result:
The third ::first-letter pseudo element only contain "–"
--
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/20200925/a2fd6438/attachment-0001.htm>
More information about the webkit-unassigned
mailing list