Title: [141276] trunk/Source/WebKit/blackberry
- Revision
- 141276
- Author
- [email protected]
- Date
- 2013-01-30 09:12:30 -0800 (Wed, 30 Jan 2013)
Log Message
[BlackBerry] Webpage was cut off after rotating to landscape and then rotating back to portrait on specific website
https://bugs.webkit.org/show_bug.cgi?id=108281
PR 284985
Patch by Xiaobo Wang <[email protected]> on 2013-01-30
Reviewed by Rob Buis.
Internally reviewed by Jacky Jiang.
Return correct fixedLayoutSize when overflow exceeds contents size.
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::fixedLayoutSize):
Modified Paths
Diff
Modified: trunk/Source/WebKit/blackberry/Api/WebPage.cpp (141275 => 141276)
--- trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2013-01-30 16:58:10 UTC (rev 141275)
+++ trunk/Source/WebKit/blackberry/Api/WebPage.cpp 2013-01-30 17:12:30 UTC (rev 141276)
@@ -2453,7 +2453,7 @@
// If we detect an overflow larger than the contents size then use that instead since
// it'll still be clamped by the maxWidth below...
int width = std::max(absoluteVisibleOverflowSize().width(), contentsSize().width());
- if (m_pendingOrientation != -1 && !m_nestedLayoutFinishedCount)
+ if (m_pendingOrientation != -1 && !m_nestedLayoutFinishedCount && !m_overflowExceedsContentsSize)
width = 0;
if (snapToIncrement) {
Modified: trunk/Source/WebKit/blackberry/ChangeLog (141275 => 141276)
--- trunk/Source/WebKit/blackberry/ChangeLog 2013-01-30 16:58:10 UTC (rev 141275)
+++ trunk/Source/WebKit/blackberry/ChangeLog 2013-01-30 17:12:30 UTC (rev 141276)
@@ -1,3 +1,17 @@
+2013-01-30 Xiaobo Wang <[email protected]>
+
+ [BlackBerry] Webpage was cut off after rotating to landscape and then rotating back to portrait on specific website
+ https://bugs.webkit.org/show_bug.cgi?id=108281
+ PR 284985
+
+ Reviewed by Rob Buis.
+ Internally reviewed by Jacky Jiang.
+
+ Return correct fixedLayoutSize when overflow exceeds contents size.
+
+ * Api/WebPage.cpp:
+ (BlackBerry::WebKit::WebPagePrivate::fixedLayoutSize):
+
2013-01-30 Simon Hausmann <[email protected]>
[Qt] Remove QT4_UNICODE related code paths
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes