[Webkit-unassigned] [Bug 183547] New: Reproducible phantom spaces are rendered using custom font

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 11 13:16:12 PDT 2018


            Bug ID: 183547
           Summary: Reproducible phantom spaces are rendered using custom
           Product: WebKit
           Version: Safari 11
          Hardware: Macintosh
                OS: macOS 10.13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xiaodi.wu at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 335543

  --> https://bugs.webkit.org/attachment.cgi?id=335543&action=review

Screenshot of errant space highlighted (another example is visible in the first line of the screenshotted text)

The same rendering issue does not occur using Chrome on the same machine.

When CSS is enabled (under the "Develop" menu), some confluence of events causes Safari to render what appears to be an extra space, which is not present in the markup. The space can be highlighted, but Safari appears to think that the highlighted text is in fact the following glyph. Every subsequent glyph in the remainder of the line appears to be offset in relation to its highlight. This issue disappears upon disabling CSS, but reliably reappears in the same spot after re-enabling CSS.

Attached is a screenshot of the relevant behavior.

The URL for the document is (at present):

The relevant custom fonts are Source Sans Pro and, for monospace not used in that line, Inconsolata; both are loaded from Google Fonts.

Expected behavior:
Correct rendering of the text, with glyphs not offset from the highlight.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180311/e98ee96d/attachment.html>

More information about the webkit-unassigned mailing list