Bug 66412 - WebKit doesn't react when a WebView is moved between windows with different backing scale factors
Summary: WebKit doesn't react when a WebView is moved between windows with different b...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 66413 66466
Blocks:
  Show dependency treegraph
 
Reported: 2011-08-17 14:23 PDT by Adam Roben (:aroben)
Modified: 2011-08-18 09:44 PDT (History)
4 users (show)

See Also:


Attachments
testcase (237 bytes, text/html)
2011-08-17 14:23 PDT, Adam Roben (:aroben)
no flags Details
Update the device scale factor when the WebView's window changes (31.27 KB, patch)
2011-08-18 09:30 PDT, Adam Roben (:aroben)
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-08-17 14:23:58 PDT
Created attachment 104242 [details]
testcase

To reproduce:

1. Load the attached testcase in a window with a 1.0 backing scale factor
2. Open a window with a 2.0 backing scale factor
3. Move the WebView from the first window to the second

The testcase will still say the device pixel ratio is 1, but should say it is 2.
Comment 1 Radar WebKit Bug Importer 2011-08-17 14:29:21 PDT
<rdar://problem/9971958>
Comment 2 Adam Roben (:aroben) 2011-08-18 09:30:49 PDT
Created attachment 104350 [details]
Update the device scale factor when the WebView's window changes
Comment 3 Adam Roben (:aroben) 2011-08-18 09:44:49 PDT
Committed r93315: <http://trac.webkit.org/changeset/93315>