Lines Matching +defs:top +defs:right
177 // even in strict mode, so do not make this a quirk. Affected the top
336 int right = max(borderHalfRight(true), outlineSize);
337 int top = max(borderHalfTop(true), outlineSize);
339 if ((left && !rtl) || (right && rtl)) {
341 top = max(top, before->borderHalfTop(true));
345 if ((left && rtl) || (right && !rtl)) {
347 top = max(top, after->borderHalfTop(true));
351 if (top) {
354 right = max(right, above->borderHalfRight(true));
360 right = max(right, below->borderHalfRight(true));
363 LayoutPoint location(max<LayoutUnit>(left, -visualOverflowRect().x()), max<LayoutUnit>(top, -visualOverflowRect().y()));
364 LayoutRect r(-location.x(), -location.y(), location.x() + max(width() + right, visualOverflowRect().maxX()), location.y() + max(height() + bottom, visualOverflowRect().maxY()));
919 // work with different block flow values instead of being hard-coded to top-to-bottom.
976 return (border.width() + ((styleForCellFlow()->isLeftToRightDirection() ^ outer) ? 1 : 0)) / 2; // Give the extra pixel to top and left.
992 return (border.width() + ((styleForCellFlow()->isFlippedBlocksWritingMode() ^ outer) ? 0 : 1)) / 2; // Give the extra pixel to top and left.
1153 // precedence paint on top of borders with lower precedence.
1193 // on top of the borders otherwise. This only matters for cells and rows.