Source/WebCore/page/FrameView.cpp
@
@
void FrameView::forceLayoutForPagination
2420
2420
root->setLogicalWidth(flooredPageLogicalWidth);
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();
2426
2425
int docLogicalRight = root->style()->isHorizontalWritingMode() ? root->docRight() : root->docBottom();
@
@
void FrameView::forceLayoutForPagination
2430
2429
IntRect overflow(clippedLogicalLeft, docLogicalTop, flooredPageLogicalWidth, docLogicalHeight);
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
}
2435
2435
}
81898