Source/WebCore/page/FrameView.cpp

@@void FrameView::forceLayoutForPagination
24202420 root->setLogicalWidth(flooredPageLogicalWidth);
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();
24262425 int docLogicalRight = root->style()->isHorizontalWritingMode() ? root->docRight() : root->docBottom();

@@void FrameView::forceLayoutForPagination
24302429 IntRect overflow(clippedLogicalLeft, docLogicalTop, flooredPageLogicalWidth, docLogicalHeight);
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 }
24352435 }
81898