Bug 161070

Summary: initial letters should respect font style setting
Product: WebKit Reporter: Jeremy Chen <jeremychen>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: bfulgham, jeremychen, kyle.bavender, mmaxfield
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Mac   
OS: OS X 10.11   

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
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.