Bug 51703

Summary: Web Inspector: Element highlight tooltip displays wrong element size when zoomed in
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, commit-queue, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
[PATCH] Suggested fix none

Description Alexander Pavlov (apavlov) 2010-12-29 06:16:40 PST
1. Find an element on a page with a known, explicit size in pixels.
2. Set the zoom to something other than 100%
3. In the "Elements" tab of the developer tools, find the element in the DOM tree and hover over it.

The tooltip displays the SCALED element dimensions rather than the actual offsetWidth/offsetHeight.

Upstreaming http://code.google.com/p/chromium/issues/detail?id=65950
Comment 1 Alexander Pavlov (apavlov) 2010-12-29 06:31:43 PST
Created attachment 77615 [details]
[PATCH] Suggested fix
Comment 2 WebKit Commit Bot 2010-12-29 10:01:54 PST
Comment on attachment 77615 [details]
[PATCH] Suggested fix

Clearing flags on attachment: 77615

Committed r74745: <http://trac.webkit.org/changeset/74745>
Comment 3 WebKit Commit Bot 2010-12-29 10:02:00 PST
All reviewed patches have been landed.  Closing bug.