Bug 85510 - Web Inspector: [Device Metrics] With "Fit window" option on, page contents are downscaled incorrectly
Summary: Web Inspector: [Device Metrics] With "Fit window" option on, page contents ar...
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: 2012-05-03 10:02 PDT by Alexander Pavlov (apavlov)
Modified: 2012-05-04 10:04 PDT (History)
8 users (show)

See Also:


Attachments
Patch (6.76 KB, patch)
2012-05-04 08:21 PDT, Alexander Pavlov (apavlov)
pfeldman: review+
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) 2012-05-03 10:02:41 PDT
If the "Fit window" option is on, and the target FrameView size is smaller than the emulated device screen, the page contents can be downscaled too much, occupying half of the FrameView width (or even less).

This used to work fine originally, but seemingly got regressed with recent style resolution or reflow-related changes.
Comment 1 Alexander Pavlov (apavlov) 2012-05-04 08:21:34 PDT
Created attachment 140238 [details]
Patch
Comment 2 Alexander Pavlov (apavlov) 2012-05-04 10:04:55 PDT
Committed r116116: <http://trac.webkit.org/changeset/116116>