Changeset 81970 in webkit


Ignore:
Timestamp:
Mar 25, 2011 10:49:11 AM (13 years ago)
Author:
Dimitri Glazkov
Message:

2011-03-25 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Adele Peterson.

REGRESSION(r77257): Only first page of a document is printed
https://bugs.webkit.org/show_bug.cgi?id=56958

  • printing/page-count-layout-overflow-expected.txt: Added.
  • printing/page-count-layout-overflow.html: Added.

2011-03-25 Dave Hyatt <hyatt@apple.com>

Reviewed by Adele Peterson.

REGRESSION(r77257): Only first page of a document is printed
https://bugs.webkit.org/show_bug.cgi?id=56958

Test: printing/page-count-layout-overflow.html

  • page/FrameView.cpp: (WebCore::FrameView::forceLayoutForPagination): Moved clearing of overflow

to the right place.

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r81964 r81970  
     12011-03-25  Dimitri Glazkov  <dglazkov@chromium.org>
     2
     3        Reviewed by Adele Peterson.
     4
     5        REGRESSION(r77257): Only first page of a document is printed
     6        https://bugs.webkit.org/show_bug.cgi?id=56958
     7
     8        * printing/page-count-layout-overflow-expected.txt: Added.
     9        * printing/page-count-layout-overflow.html: Added.
     10
    1112011-03-25  Maciej Stachowiak  <mjs@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r81967 r81970  
     12011-03-25  Dave Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by Adele Peterson.
     4
     5        REGRESSION(r77257): Only first page of a document is printed
     6        https://bugs.webkit.org/show_bug.cgi?id=56958
     7
     8        Test: printing/page-count-layout-overflow.html
     9
     10        * page/FrameView.cpp:
     11        (WebCore::FrameView::forceLayoutForPagination): Moved clearing of overflow
     12            to the right place.
     13
    1142011-03-25  Benjamin Poulain  <benjamin.poulain@nokia.com>
    215
  • trunk/Source/WebCore/page/FrameView.cpp

    r81209 r81970  
    24212421            root->setNeedsLayoutAndPrefWidthsRecalc();
    24222422            forceLayout();
    2423             root->clearLayoutOverflow();
    24242423            int docLogicalHeight = root->style()->isHorizontalWritingMode() ? root->docHeight() : root->docWidth();
    24252424            int docLogicalTop = root->style()->isHorizontalWritingMode() ? root->docTop() : root->docLeft();
     
    24312430            if (!root->style()->isHorizontalWritingMode())
    24322431                overflow = overflow.transposedRect();
     2432            root->clearLayoutOverflow();
    24332433            root->addLayoutOverflow(overflow); // This is how we clip in case we overflow again.
    24342434        }
Note: See TracChangeset for help on using the changeset viewer.