Lines Matching full:width
84 // explicit width is specified on the table. Auto width implies auto table layout.
85 if (style()->tableLayout() == TFIXED && !style()->width().isAuto())
218 LengthType widthType = style()->width().type();
219 if (widthType > Relative && style()->width().isPositive()) {
221 setWidth(style()->width().calcMinValue(availableWidth));
222 setWidth(max(minPrefWidth(), width()));
224 // An auto width table should shrink to fit within the line width if necessary in order to
228 // Subtract out any fixed margins from our available width for auto width tables.
235 // Subtract out our margins to get the available content width.
238 // Ensure we aren't bigger than our max width or smaller than our min width.
242 setWidth(max(width(), minPrefWidth()));
244 // Finally, with our true width determined, compute our margins for real.
277 int oldWidth = width();
285 // if the width of a table is wider than its container width, or it has a nested table,
288 bool shouldRenderAsSingleColumn = (width() > cw);
302 if (width() > cw)
311 if (m_caption && width() != oldWidth)
318 // if ( oldWidth != width() || columns.size() + 1 != columnPos.size() )
365 IntRect captionRect(m_caption->x(), m_caption->y(), m_caption->width(), m_caption->height());
428 IntRect captionRect(m_caption->x(), m_caption->y(), m_caption->width(), m_caption->height());
441 // FIXME: Only pass true if width or height changed.
445 int rightBorderOverflow = width() + (collapsing ? outerBorderRight() - borderRight() : 0);
558 int w = width();
583 int w = width();
623 // change width of all rows.
641 // change width of all rows.
776 borderWidth = tb.width;
785 borderWidth = max(borderWidth, static_cast<unsigned>(gb.width));
798 borderWidth = max(borderWidth, static_cast<unsigned>(sb.width));
812 borderWidth = max(borderWidth, static_cast<unsigned>(cb.width));
814 borderWidth = max(borderWidth, static_cast<unsigned>(rb.width));
835 borderWidth = tb.width;
844 borderWidth = max(borderWidth, static_cast<unsigned>(gb.width));
857 borderWidth = max(borderWidth, static_cast<unsigned>(sb.width));
871 borderWidth = max(borderWidth, static_cast<unsigned>(cb.width));
873 borderWidth = max(borderWidth, static_cast<unsigned>(rb.width));
924 borderWidth = max(borderWidth, static_cast<int>(tb.width / 2));
950 borderWidth = max(borderWidth, static_cast<int>((tb.width + 1) / 2));
965 borderWidth = tb.width / 2;
995 borderWidth = (tb.width + 1) / 2;
1198 if (visibleToHitTesting() && (action == HitTestBlockBackground || action == HitTestChildBlockBackground) && IntRect(tx, ty, width(), height()).contains(xPos, yPos)) {