[Webkit-unassigned] [Bug 147976] New: initial-letter fails to exclude text around glyph bounding box

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 13 08:07:32 PDT 2015


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

            Bug ID: 147976
           Summary: initial-letter fails to exclude text around glyph
                    bounding box
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Macintosh
                OS: Mac OS X 10.9
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dauwhe at gmail.com

Created attachment 258888
  --> https://bugs.webkit.org/attachment.cgi?id=258888&action=review
HTML file showing crash between italic initial letter and subsequent text.

If an initial letter is created using a glyph that extends beyond the em box, the initial letter may overlap document text. The spec says, "Text is therefore excluded around the glyph bounding boxes of the initial letters." [1] 

Testing with an italic initial letter can sometimes show this problem (test file attached). Some fonts (especially script fonts like Zapfino which may have negative side bearing) are also good test candidates. 

Dave

[1] https://drafts.csswg.org/css-inline/#initial-letter-exclusions

-- 
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/20150813/16890d41/attachment-0001.html>


More information about the webkit-unassigned mailing list