Bug 87408

Summary: [BlackBerry] call WebPagePrivate::setViewportSize when tree needs layout can cause artifacts
Product: WebKit Reporter: Antonio Gomes <tonikitoo>
Component: WebKit BlackBerryAssignee: Antonio Gomes <tonikitoo>
Status: RESOLVED FIXED    
Severity: Normal CC: tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
(committed r118405, r=atreat) patch none

Antonio Gomes
Reported 2012-05-24 11:17:30 PDT
From PR # 153056: When typing in the navigation bar the layout size of iris changes to accommodate the VKB. When this happens html.clientHeight and body.clientHeight is 822px. After pressing enter the VKB is dismissed and the navigation bar remains in its position at 822px. At this point html.clientHeight is now 1280px and body.clientHeight is still 822px despite the 'height: 100%' style on the body. Certain manipulations to the web page will cause it to correct itself and clicking on an element on the elements view in webinpsector will correct it too. I believe webinpsector forces a full css and layout calculation when this is done.
Attachments
(committed r118405, r=atreat) patch (4.90 KB, patch)
2012-05-24 12:39 PDT, Antonio Gomes
no flags
Antonio Gomes
Comment 1 2012-05-24 12:39:34 PDT
Created attachment 143871 [details] (committed r118405, r=atreat) patch
Note You need to log in before you can comment on or make changes to this bug.