[Webkit-unassigned] [Bug 161070] New: initial letters should respect font style setting

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 22 20:10:39 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161070

            Bug ID: 161070
           Summary: initial letters should respect font style setting
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jeremychen at mozilla.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160823/4ff51b2f/attachment-0001.html>


More information about the webkit-unassigned mailing list