Changeset 141276 in webkit


Ignore:
Timestamp:
Jan 30, 2013 9:12:30 AM (11 years ago)
Author:
commit-queue@webkit.org
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 <xbwang@torchmobile.com.cn> 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):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/Api/WebPage.cpp

    r140973 r141276  
    24542454        // it'll still be clamped by the maxWidth below...
    24552455        int width = std::max(absoluteVisibleOverflowSize().width(), contentsSize().width());
    2456         if (m_pendingOrientation != -1 && !m_nestedLayoutFinishedCount)
     2456        if (m_pendingOrientation != -1 && !m_nestedLayoutFinishedCount && !m_overflowExceedsContentsSize)
    24572457            width = 0;
    24582458
  • trunk/Source/WebKit/blackberry/ChangeLog

    r141255 r141276  
     12013-01-30  Xiaobo Wang  <xbwang@torchmobile.com.cn>
     2
     3        [BlackBerry] Webpage was cut off after rotating to landscape and then rotating back to portrait on specific website
     4        https://bugs.webkit.org/show_bug.cgi?id=108281
     5        PR 284985
     6
     7        Reviewed by Rob Buis.
     8        Internally reviewed by Jacky Jiang.
     9
     10        Return correct fixedLayoutSize when overflow exceeds contents size.
     11
     12        * Api/WebPage.cpp:
     13        (BlackBerry::WebKit::WebPagePrivate::fixedLayoutSize):
     14
    1152013-01-30  Simon Hausmann  <simon.hausmann@digia.com>
    216
Note: See TracChangeset for help on using the changeset viewer.