WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
161070
initial letters should respect font style setting
https://bugs.webkit.org/show_bug.cgi?id=161070
Summary
initial letters should respect font style setting
Jeremy Chen
Reported
2016-08-22 20:10:39 PDT
In current implementation, it seems that a newFontDescription is created and set for initial-letter's pseudoStyle. However, only size is considered, the other font related style is not. I think web authors may prefer have initial-letter keep its flexibility to set a font different from its surrounding text. This also mentioned in spec:
https://drafts.csswg.org/css-inline/#initial-letter-properties
as well. test case:
http://codepen.io/anon/pen/AXkxbE
Attachments
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2022-07-14 16:45:00 PDT
This test case works properly in Safari 15.5+. I don't believe there is further action needed here.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug