Changeset 140289 in webkit
- Timestamp:
- Jan 20, 2013 6:31:15 PM (11 years ago)
- Location:
- trunk/Source/WebKit/blackberry
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/blackberry/Api/WebPage.cpp
r140046 r140289 1609 1609 notifyTransformedScrollChanged(); 1610 1610 } 1611 1612 // If the content size is too small, zoom it to fit the viewport. 1613 if ((loadState() == Finished || loadState() == Committed) 1614 && (transformedContentsSize().width() < transformedActualVisibleSize().width() || transformedContentsSize().height() < transformedActualVisibleSize().height())) 1615 zoomAboutPoint(initialScale(), newScrollPosition); 1616 1611 1617 } 1612 1618 } -
trunk/Source/WebKit/blackberry/ChangeLog
r140282 r140289 1 2013-01-20 Charles Wei <charles.wei@torchmobile.com.cn> 2 3 [BlackBerry] some websites only takes half of the screen after rotating from landscape to portrait mode. 4 https://bugs.webkit.org/show_bug.cgi?id=107103 5 6 Reviewed by George Staikos. 7 Internally reviewed by Jacky Jiang. 8 9 When the document size changes (by some javascript) which makes it too small to fit the viewport, we should 10 automatically zoom it to fit the viewport. 11 12 * Api/WebPage.cpp: 13 (BlackBerry::WebKit::WebPagePrivate::layoutFinished): 14 1 15 2013-01-20 Tiancheng Jiang <tijiang@rim.com> 2 16
Note: See TracChangeset
for help on using the changeset viewer.