Changeset 81970 in webkit
- Timestamp:
- Mar 25, 2011 10:49:11 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r81964 r81970 1 2011-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 1 11 2011-03-25 Maciej Stachowiak <mjs@apple.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r81967 r81970 1 2011-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 1 14 2011-03-25 Benjamin Poulain <benjamin.poulain@nokia.com> 2 15 -
trunk/Source/WebCore/page/FrameView.cpp
r81209 r81970 2421 2421 root->setNeedsLayoutAndPrefWidthsRecalc(); 2422 2422 forceLayout(); 2423 root->clearLayoutOverflow();2424 2423 int docLogicalHeight = root->style()->isHorizontalWritingMode() ? root->docHeight() : root->docWidth(); 2425 2424 int docLogicalTop = root->style()->isHorizontalWritingMode() ? root->docTop() : root->docLeft(); … … 2431 2430 if (!root->style()->isHorizontalWritingMode()) 2432 2431 overflow = overflow.transposedRect(); 2432 root->clearLayoutOverflow(); 2433 2433 root->addLayoutOverflow(overflow); // This is how we clip in case we overflow again. 2434 2434 }
Note: See TracChangeset
for help on using the changeset viewer.