Bug 145368

Summary: Web Inspector: element highlight overlays are incorrectly positioned when inspected page is zoomed
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: graouts, joepeck, jonowells, mattbaker, nvasilyev, simon.fraser, thorton, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
correct behavior at 1x zoom
none
wrong behavior at >1x zoom none

Description Brian Burg 2015-05-25 09:41:33 PDT
Steps to reproduce (Desktop):

1. Go to www.apple.com
2. Inspect one of the top navigation sections, the tooltip should be fine.
3. Pinch to zoom just a little bit, then inspect again.

The tooltip overlays themselves get larger from zoom, but they are also misplaced further away from the highlighted element.

The expected behavior is that the highlight rects are zoomed to cover the zoomed element, but the tooltips remain the same size and correctly attached to the highlighted rect.
Comment 1 Radar WebKit Bug Importer 2015-05-25 09:41:49 PDT
<rdar://problem/21096873>
Comment 2 Brian Burg 2015-05-25 09:43:27 PDT
Created attachment 253684 [details]
correct behavior at 1x zoom
Comment 3 Brian Burg 2015-05-25 09:43:53 PDT
Created attachment 253685 [details]
wrong behavior at >1x zoom
Comment 4 Simon Fraser (smfr) 2015-05-26 11:57:55 PDT
rdar://problem/13583256
Comment 5 Tim Horton 2015-08-28 02:00:44 PDT

*** This bug has been marked as a duplicate of bug 147177 ***