Bug 51703 - Web Inspector: Element highlight tooltip displays wrong element size when zoomed in
Summary: Web Inspector: Element highlight tooltip displays wrong element size when zoo...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-29 06:16 PST by Alexander Pavlov (apavlov)
Modified: 2010-12-29 10:02 PST (History)
11 users (show)

See Also:


Attachments
[PATCH] Suggested fix (1.67 KB, patch)
2010-12-29 06:31 PST, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.