Lines Matching defs:lineTop

575 void InlineFlowBox::placeBoxesInBlockDirection(int top, int maxHeight, int maxAscent, bool strictMode, int& lineTop, int& lineBottom, bool& setLineTop,
641 // Treat the leading on the first and last lines of ruby runs as not being part of the overall lineTop/lineBottom.
652 int topRubyBaseLeading = rubyBase->logicalTop() + (rubyBase->firstRootBox() ? rubyBase->firstRootBox()->lineTop() : 0);
670 lineTop = newLogicalTop;
671 lineTopIncludingMargins = min(lineTop, newLogicalTopIncludingMargins);
673 lineTop = min(lineTop, newLogicalTop);
674 lineTopIncludingMargins = min(lineTop, min(lineTopIncludingMargins, newLogicalTopIncludingMargins));
683 inlineFlowBox->placeBoxesInBlockDirection(top, maxHeight, maxAscent, strictMode, lineTop, lineBottom, setLineTop,
691 lineTop = logicalTop();
692 lineTopIncludingMargins = lineTop;
694 lineTop = min(lineTop, logicalTop());
695 lineTopIncludingMargins = min(lineTop, lineTopIncludingMargins);
706 void InlineFlowBox::flipLinesInBlockDirection(int lineTop, int lineBottom)
708 // Flip the box on the line such that the top is now relative to the lineBottom instead of the lineTop.
709 setLogicalTop(lineBottom - (logicalTop() - lineTop) - logicalHeight());
716 static_cast<InlineFlowBox*>(curr)->flipLinesInBlockDirection(lineTop, lineBottom);
718 curr->setLogicalTop(lineBottom - (curr->logicalTop() - lineTop) - curr->logicalHeight());
826 void InlineFlowBox::computeOverflow(int lineTop, int lineBottom, GlyphOverflowAndFallbackFontsMap& textBoxDataMap)
835 IntRect logicalLayoutOverflow(enclosingIntRect(logicalFrameRectIncludingLineHeight(lineTop, lineBottom)));
855 flow->computeOverflow(lineTop, lineBottom, textBoxDataMap);
857 logicalVisualOverflow.unite(flow->logicalVisualOverflowRect(lineTop, lineBottom));
858 IntRect childLayoutOverflow = flow->logicalLayoutOverflowRect(lineTop, lineBottom);
865 setOverflowFromLogicalRects(logicalLayoutOverflow, logicalVisualOverflow, lineTop, lineBottom);
868 void InlineFlowBox::setLayoutOverflow(const IntRect& rect, int lineTop, int lineBottom)
870 IntRect frameBox = enclosingIntRect(frameRectIncludingLineHeight(lineTop, lineBottom));
880 void InlineFlowBox::setVisualOverflow(const IntRect& rect, int lineTop, int lineBottom)
882 IntRect frameBox = enclosingIntRect(frameRectIncludingLineHeight(lineTop, lineBottom));
892 void InlineFlowBox::setOverflowFromLogicalRects(const IntRect& logicalLayoutOverflow, const IntRect& logicalVisualOverflow, int lineTop, int lineBottom)
895 setLayoutOverflow(layoutOverflow, lineTop, lineBottom);
898 setVisualOverflow(visualOverflow, lineTop, lineBottom);
901 bool InlineFlowBox::nodeAtPoint(const HitTestRequest& request, HitTestResult& result, int x, int y, int tx, int ty, int lineTop, int lineBottom)
903 IntRect overflowRect(visualOverflowRect(lineTop, lineBottom));
911 if ((curr->renderer()->isText() || !curr->boxModelObject()->hasSelfPaintingLayer()) && curr->nodeAtPoint(request, result, x, y, tx, ty, lineTop, lineBottom)) {
931 top = max(rootBox->lineTop(), top);
949 void InlineFlowBox::paint(PaintInfo& paintInfo, int tx, int ty, int lineTop, int lineBottom)
951 IntRect overflowRect(visualOverflowRect(lineTop, lineBottom));
1014 curr->paint(childInfo, tx, ty, lineTop, lineBottom);
1096 top = max(rootBox->lineTop(), top);
1178 top = max(rootBox->lineTop(), top);
1323 int topOfFirstRubyTextLine = rubyText->logicalTop() + (rubyText->firstRootBox() ? rubyText->firstRootBox()->lineTop() : 0);