Home | History | Annotate | Download | only in rendering

Lines Matching refs:top

92 RenderBlock::MarginInfo::MarginInfo(RenderBlock* block, int top, int bottom)
100 m_canCollapseTopWithChildren = m_canCollapseWithChildren && (top == 0) && block->style()->marginTopCollapse() != MSEPARATE;
916 // use the top margins, since the self-collapsing block collapsed its
917 // own bottom margin into its top margin.
919 // Note also that the previous flow may collapse its margin into the top of
1020 // Get our max pos and neg top margins.
1025 // top to get new posTop and negTop values.
1031 // See if the top margin is quirky. We only care if this child has
1036 // This child is collapsing with the top of the
1052 // We have no top margin and our top child has a quirky margin.
1093 // with the top of the block.
1119 // "An element that has had clearance applied to it never collapses its top margin with its parent block's bottom margin.
1143 // We can no longer collapse with the top of the block since a clear
1239 void RenderBlock::handleBottomOfBlock(int top, int bottom, MarginInfo& marginInfo)
1253 setHeight(max(height(), top + bottom));
1279 int top = borderTop() + paddingTop();
1282 setHeight(top);
1285 MarginInfo marginInfo(this, top, bottom);
1324 handleBottomOfBlock(top, bottom, marginInfo);
1335 // Do not allow a collapse if the margin top collapse style is set to SEPARATE.
1351 // Go ahead and position the child as though it didn't collapse with the top.
1403 // We are no longer at the top of the block if we encounter a non-empty child.
2195 int top = blockY + lastTop;
2196 int height = bottomY - top;
2207 IntRect gapRect(left, top, width, height);
2216 int top = yPos + ty;
2223 IntRect gapRect(left, top, width, height);
2233 int top = yPos + ty;
2239 IntRect gapRect(left, top, width, height);
2979 void RenderBlock::markLinesDirtyInVerticalRange(int top, int bottom, RootInlineBox* highest)
2981 if (top >= bottom)
2991 while (afterLowest && afterLowest != highest && afterLowest->blockHeight() >= top) {
3511 // of the previous root box and the top of the next root box.
3754 int top = borderTop() + paddingTop();
3756 int currY = top;
3759 int contentBottom = top + availableHeight;
3767 IntRect colRect(currX, top, desiredColumnWidth, colHeight);
4405 <div style="position:absolute; width:100px; top:50px;">
4406 <div style="position:absolute;left:0px;top:50px;height:50px;background-color:green">
5092 int top = max(curr->lineTop(), curr->y());
5094 IntRect rect(tx + curr->x(), ty + top, curr->width(), bottom - top);