Bug 66412

Summary: WebKit doesn't react when a WebView is moved between windows with different backing scale factors
Product: WebKit Reporter: Adam Roben (:aroben) <aroben>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: hyatt, simon.fraser, sullivan, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.7   
Bug Depends on: 66413, 66466    
Bug Blocks:    
Attachments:
Description Flags
testcase
none
Update the device scale factor when the WebView's window changes andersca: review+

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>