Bug 147845

Summary: Zero-width spaces are rendered incorrectly using -apple-system font
Product: WebKit Reporter: BJ Burg <bburg>
Component: Layout and RenderingAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, dino, graouts, joepeck, mattbaker, mmaxfield, nvasilyev, thorton, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.10   
Attachments:
Description Flags
screenshot of incorrect rendering
none
Reduced testcase
none
[Screenshot] rendering of reduced testcase on Yosemite none

Description BJ Burg 2015-08-10 15:16:06 PDT
Created attachment 258656 [details]
screenshot of incorrect rendering

STEPS TO REPRODUCE:

 1. Inspect a locally hosted layout test (i.e., LayoutTests/dom/dom-search.html)
 2. Open the Web Inspector to the Resources tab, and select dom-search.html
 3. Open the details sidebar tab

EXPECTED:

 * Local file URL should render normally in the "Location" section, "Full URL" row.

ACTUAL:

 * It has some fraction glyphs rendered on top whenever there is a forward slash, but only in the first linebox.



This seems like a rendering bug. I have not tried to make a reduction outside of Web Inspector yet.
Comment 1 Timothy Hatcher 2015-08-10 15:43:13 PDT
Is it the zero width space?
Comment 2 BJ Burg 2015-08-10 15:51:27 PDT
(In reply to comment #1)
> Is it the zero width space?

How would zero width spaces get inserted here?
Comment 3 Timothy Hatcher 2015-08-10 16:02:40 PDT
We insert them to force better breaking in URLs. There is code in Main.js we use for this. I am on my phone, so I can't look it up right now.
Comment 4 BJ Burg 2015-08-21 14:41:45 PDT
Created attachment 259662 [details]
Reduced testcase

This should be easier to diagnose...
Comment 5 Radar WebKit Bug Importer 2015-08-21 14:42:21 PDT
<rdar://problem/22385647>
Comment 6 BJ Burg 2015-08-21 14:50:59 PDT
Created attachment 259664 [details]
[Screenshot] rendering of reduced testcase on Yosemite

Seems to be reproducing on Yosemite but not El Capitan.
Comment 7 Myles C. Maxfield 2015-08-26 17:32:08 PDT
Does not reproduce on Mavericks.
Comment 8 Myles C. Maxfield 2015-08-26 17:33:19 PDT
Installing Yosemite to look at this.
Comment 9 Myles C. Maxfield 2015-08-26 22:56:43 PDT
Related: <rdar://problem/22451554>
Comment 10 Myles C. Maxfield 2015-12-15 19:01:53 PST
This renders correctly on El Capitan.