Home | History | Annotate | Download | only in rendering

Lines Matching refs:pageLogicalHeight

194 void RenderBlockFlow::checkForPaginationLogicalHeightChange(LayoutUnit& pageLogicalHeight, bool& pageLogicalHeightChanged, bool& hasSpecifiedPageLogicalHeight)
205 if (!pageLogicalHeight) {
213 pageLogicalHeight = columnHeight;
218 if (colInfo->columnHeight() != pageLogicalHeight && everHadLayout()) {
219 colInfo->setColumnHeight(pageLogicalHeight);
223 if (!hasSpecifiedPageLogicalHeight && !pageLogicalHeight)
237 pageLogicalHeight = flowThread->isPageLogicalHeightKnown() ? LayoutUnit(1) : LayoutUnit(0);
243 bool RenderBlockFlow::shouldRelayoutForPagination(LayoutUnit& pageLogicalHeight, LayoutUnit layoutOverflowLogicalBottom) const
248 LayoutUnit columnHeight = pageLogicalHeight;
254 if (!pageLogicalHeight) {
259 } else if (layoutOverflowLogicalBottom > boundedMultiply(pageLogicalHeight, desiredColumnCount)) {
264 if (columnHeight && columnHeight != pageLogicalHeight) {
265 pageLogicalHeight = columnHeight;
272 void RenderBlockFlow::setColumnCountAndHeight(unsigned count, LayoutUnit pageLogicalHeight)
275 if (pageLogicalHeight)
276 colInfo->setColumnCountAndHeight(count, pageLogicalHeight);
310 LayoutUnit pageLogicalHeight = 0;
313 done = layoutBlockFlow(relayoutChildren, pageLogicalHeight, layoutScope);
318 if (renderView->layoutState()->pageLogicalHeight())
338 inline bool RenderBlockFlow::layoutBlockFlow(bool relayoutChildren, LayoutUnit &pageLogicalHeight, SubtreeLayoutScope& layoutScope)
348 checkForPaginationLogicalHeightChange(pageLogicalHeight, pageLogicalHeightChanged, hasSpecifiedPageLogicalHeight);
352 LayoutState state(*this, locationOffset(), pageLogicalHeight, pageLogicalHeightChanged, columnInfo());
406 if (!hasSpecifiedPageLogicalHeight && shouldRelayoutForPagination(pageLogicalHeight, layoutOverflowLogicalBottom)) {
411 setColumnCountAndHeight(ceilf(layoutOverflowLogicalBottom.toFloat() / pageLogicalHeight.toFloat()), pageLogicalHeight.toFloat());
723 if (LayoutUnit pageLogicalHeight = pageLogicalHeightForOffset(result)) {
732 LayoutUnit spaceShortageInLastColumn = intMod(spaceShortage, pageLogicalHeight);
734 } else if (remainingLogicalHeight == pageLogicalHeight && offsetFromLogicalTopOfFirstPage() + child->logicalTop()) {
1164 if (layoutState->isPaginated() && layoutState->pageLogicalHeight() && logicalTop > beforeCollapseLogicalTop) {
1402 if (layoutState->isPaginated() && layoutState->pageLogicalHeight() && logicalTopEstimate > logicalHeight())
1603 bool checkPageBreaks = !checkColumnBreaks && view()->layoutState()->pageLogicalHeight(); // FIXME: Once columns can print we have to check this.
1627 bool checkPageBreaks = !checkColumnBreaks && view()->layoutState()->pageLogicalHeight(); // FIXME: Once columns can print we have to check this.