Home | History | Annotate | Download | only in rendering

Lines Matching full:width

63     int styleWidth = width() - extraWidth;
65 // Some IFrames have a width and/or height of 1 when they are meant to be
71 bool widthIsFixed = style()->width().isFixed();
81 // width
84 // Use the preferred width if it is larger and only if
85 // scrollbars are visible or the width style is not fixed.
87 setWidth(max(width(), root->minPrefWidth()) + extraWidth);
91 int w = width() - extraWidth;
92 if (w > view->width())
94 if (w != view->width() || h != view->height()) {
105 // Only change the width or height if scrollbars are visible or
111 setWidth(max(width(), contentWidth + extraWidth));
155 // Do not expand if the scrollbars are suppressed and the width is fixed.
157 if (!scrolling && style()->width().isFixed())
160 // width
164 // Set the width
165 setWidth(max(width(), root->minPrefWidth()) + extraWidth);
167 // Update based on the new width
170 // Layout to get the content width
175 setWidth(max(width(), view->contentsWidth() + extraWidth));
202 setHeight(max(width(), view->contentsHeight() + extraHeight));