Bug 87817

Summary: [BlackBerry] The Page's deviceScaleFactor() is not being properly maintained
Product: WebKit Reporter: Max Feil <mfeil>
Component: WebKit BlackBerryAssignee: Max Feil <mfeil>
Status: CLOSED FIXED    
Severity: Normal CC: jkjiang, kpiascik, tonikitoo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Bug Depends on:    
Bug Blocks: 87551    
Attachments:
Description Flags
Patch none

Description Max Feil 2012-05-29 21:18:17 PDT
When navigating between web pages with different CSS pixel sizes, the deviceScaleFactor is not maintained properly. Specifically, when navigating from a page with a deviceScaleFactor greater than one to a page with the default deviceScaleFactor of 1.0.

My patch fixes two spots in the code. One where viewport changes from non-default to default are being erroneously thrown out, and another where viewport changes back to default are recognized but deviceScaleFactor is not being updated.
Comment 1 Max Feil 2012-05-29 21:34:05 PDT
Created attachment 144695 [details]
Patch
Comment 2 WebKit Review Bot 2012-05-29 23:18:04 PDT
Comment on attachment 144695 [details]
Patch

Clearing flags on attachment: 144695

Committed r118895: <http://trac.webkit.org/changeset/118895>
Comment 3 WebKit Review Bot 2012-05-29 23:18:19 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Max Feil 2012-11-02 12:43:12 PDT
Closing bug for patch that landed a long time ago.