Bug 161070
| Summary: | initial letters should respect font style setting | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jeremy Chen <jeremychen> |
| Component: | CSS | Assignee: | 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
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
This test case works properly in Safari 15.5+. I don't believe there is further action needed here.