Bug 141801

Summary: Web Inspector: When first inspecting text styled with a web font, Inspector selects a random resource instead
Product: WebKit Reporter: Nick Heer <nick>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bburg, graouts, joepeck, jonowells, mattbaker, nick, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.10   

Description Nick Heer 2015-02-19 11:04:50 PST
Acutal WebKit version 600.3.18 (Safari 8.0.3).

When inspecting an element that is styled with a web font, the Inspector will instead show a random resource (usually a font file, but sometimes an image).

Closing the Web Inspector and inspecting the element a second time will exhibit correct/expected behaviour.

Reproduce:
1. Visit http://www.apple.com/watch/timekeeping/
2. Right/secondary click on the "Apple Watch is first and foremost an incredibly accurate…" paragraph at the top of the page, and select Inspect Element
3. Web Inspector will reliably show one of the page's resources instead of showing the HTML source with the paragraph highlighted (the expected behaviour)
Comment 1 Radar WebKit Bug Importer 2015-02-19 11:05:02 PST
<rdar://problem/19890738>
Comment 2 BJ Burg 2016-12-04 16:26:15 PST
I cannot reproduce. Can you find or make a smaller/recent test case?