Lines Matching defs:bottom

2397     // A positioned element that specified both top/bottom or that specifies height should be treated as though it has a height
2582 if (cb->isOutOfFlowPositioned() && cb->style()->height().isAuto() && !(cb->style()->top().isAuto() || cb->style()->bottom().isAuto())) {
2660 if (isRenderBlock() && isOutOfFlowPositioned() && style()->height().isAuto() && !(style()->top().isAuto() || style()->bottom().isAuto())) {
3252 // Our offset is from the logical bottom edge in a flipped environment, e.g., right for vertical-rl and bottom for horizontal-bt.
3271 // 'top' and 'bottom' cannot both be 'auto' because 'top would of been
3301 * bottom' are 'auto', solve the equation under the extra constraint that
3303 * bottom' is 'auto', solve the equation for that value. If the values
3304 * are over-constrained, ignore the value for 'bottom' and solve for that
3307 // NOTE: It is not necessary to solve for 'bottom' in the over constrained
3326 // Solve for bottom margin
3330 // Over-constrained, (no need solve for bottom)
3336 * Otherwise, set 'auto' values for 'margin-top' and 'margin-bottom'
3339 * 1. 'top' and 'height' are 'auto' and 'bottom' is not 'auto', then
3344 * 2. 'top' and 'bottom' are 'auto' and 'height' is not 'auto', then
3345 * set 'top' to the static position, and solve for 'bottom'.
3348 * 3. 'height' and 'bottom' are 'auto' and 'top' is not 'auto', then
3349 * the height is based on the content, and solve for 'bottom'.
3350 * 4. 'top' is 'auto', 'height' and 'bottom' are not 'auto', and
3352 * 5. 'height' is 'auto', 'top' and 'bottom' are not 'auto', and
3354 * 6. 'bottom' is 'auto', 'top' and 'height' are not 'auto', and
3355 * solve for 'bottom'.
3357 // NOTE: For rules 3 and 6 it is not necessary to solve for 'bottom'
3372 // RULE 3: (height is content based, no need solve of bottom)
3384 // RULE 6: (no need solve of bottom)
3599 * 2. If both 'top' and 'bottom' have the value 'auto', replace 'top'
3606 * 3. If 'bottom' is 'auto', replace any 'auto' on 'margin-top' or
3607 * 'margin-bottom' with '0'.
3609 // FIXME: The spec. says that this step should only be taken when bottom is
3619 * 4. If at this point both 'margin-top' and 'margin-bottom' are still
3627 // 'top' and 'bottom' cannot be 'auto' due to step 2 and 3 combined.
3654 // Solve for 'bottom'
3655 // NOTE: It is not necessary to solve for 'bottom' because we don't ever
3669 // Solve for 'margin-bottom'
3676 // NOTE: It is not necessary to solve for 'bottom' because we don't ever
3682 * for 'bottom' and solve for that value.
3685 // the value of 'bottom' regardless of whether the values are over-constrained
3755 LayoutUnit bottom = contentHeight() + borderAndPaddingHeight();
3757 if (point.x() < 0 || point.x() > right || point.y() < 0 || point.y() > bottom) {
3782 LayoutUnit bottom = top + renderer->contentHeight();
3786 if (point.x() <= right && point.x() >= left && point.y() <= top && point.y() >= bottom) {
3798 else if (point.y() > bottom)
3799 cmp = LayoutPoint(right, bottom);
3805 else if (point.y() > bottom)
3806 cmp = LayoutPoint(left, bottom);
3813 cmp = LayoutPoint(point.x(), bottom);
3926 // Invalidate the bottom delta part and the bottom border of the old or new box which has smaller height.
3985 LayoutUnit bottom;
3989 style()->getBoxShadowExtent(top, right, bottom, left);
4001 bottom = std::max(bottom, borderOutsets.bottom());
4015 bottom = std::max(bottom, rect.maxY() - height() + outlineSize);
4021 bottom = std::max(bottom, outlineSize);
4026 return LayoutBoxExtent(top, right, bottom, left);
4152 // A positioned element that specified both top/bottom or that specifies height should be treated as though it has a height
4154 // FIXME: We can't just check top/bottom here.
4156 bool isOutOfFlowPositionedWithSpecifiedHeight = cb->isOutOfFlowPositioned() && (!cb->style()->logicalHeight().isAuto() || (!cb->style()->top().isAuto() && !cb->style()->bottom().isAuto()));
4206 return direction == HorizontalLine ? m_marginBox.top() + height() + m_marginBox.bottom() : m_marginBox.right() + width() + m_marginBox.left();
4214 int result = direction == HorizontalLine ? m_marginBox.top() + height() + m_marginBox.bottom() : m_marginBox.right() + width() + m_marginBox.left();
4327 LayoutUnit bottom = borderBottom();
4328 LayoutRect rect(left, top, width() - left - right, height() - top - bottom);
4332 // scrollbar at the physical bottom in horizontal-bt ought to be at the logical top (physical
4333 // bottom), between the logical top (physical bottom) border and the logical top (physical
4334 // bottom) padding. But this is how the rest of the code expects us to behave. This is highly