Changeset 95897 in webkit


Ignore:
Timestamp:
Sep 23, 2011 8:12:33 PM (13 years ago)
Author:
mihaip@chromium.org
Message:

[Chromium] REGRESSION (r95725): Resizing a window doesn't resize the contents
https://bugs.webkit.org/show_bug.cgi?id=68730

Reviewed by James Robinson.

Source/WebCore:

Adds a missing contentsResized() call in ScrollView::setFrameRect.

Test: fast/dom/Window/window-resize-contents.html

  • platform/ScrollView.cpp:

(WebCore::ScrollView::setFrameRect):

LayoutTests:

Test for resizing of the window triggering resizing of contents.

  • fast/dom/Window/window-resize-contents-expected.txt: Added.
  • fast/dom/Window/window-resize-contents.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r95892 r95897  
     12011-09-23  Mihai Parparita  <mihaip@chromium.org>
     2
     3        [Chromium] REGRESSION (r95725): Resizing a window doesn't resize the contents
     4        https://bugs.webkit.org/show_bug.cgi?id=68730
     5
     6        Reviewed by James Robinson.
     7
     8        Test for resizing of the window triggering resizing of contents.
     9
     10        * fast/dom/Window/window-resize-contents-expected.txt: Added.
     11        * fast/dom/Window/window-resize-contents.html: Added.
     12
    1132011-09-23  Mihai Parparita  <mihaip@chromium.org>
    214
  • trunk/Source/WebCore/ChangeLog

    r95894 r95897  
     12011-09-23  Mihai Parparita  <mihaip@chromium.org>
     2
     3        [Chromium] REGRESSION (r95725): Resizing a window doesn't resize the contents
     4        https://bugs.webkit.org/show_bug.cgi?id=68730
     5
     6        Reviewed by James Robinson.
     7
     8        Adds a missing contentsResized() call in ScrollView::setFrameRect.
     9
     10        Test: fast/dom/Window/window-resize-contents.html
     11
     12        * platform/ScrollView.cpp:
     13        (WebCore::ScrollView::setFrameRect):
     14
    1152011-09-23  Adam Klein  <adamk@chromium.org>
    216
  • trunk/Source/WebCore/platform/ScrollView.cpp

    r95765 r95897  
    828828
    829829    updateScrollbars(scrollOffset());
     830   
     831    if (!m_useFixedLayout)
     832        contentsResized();
    830833}
    831834
Note: See TracChangeset for help on using the changeset viewer.