Home | History | Annotate | Download | only in rendering

Lines Matching full:style

91         RefPtr<RenderStyle> textBlockStyle = createInnerTextStyle(style());
92 // We may have set the width and the height in the old style in layout().
94 textBlockRenderer->style()->setHeight(Length());
95 textBlockRenderer->style()->setWidth(Length());
102 void RenderTextControl::setInnerTextStyle(PassRefPtr<RenderStyle> style)
105 RefPtr<RenderStyle> textStyle = style;
114 static inline bool updateUserModifyProperty(Node* node, RenderStyle* style)
125 style->setUserModify((isReadOnlyControl || !isEnabled) ? READ_ONLY : READ_WRITE_PLAINTEXT_ONLY);
133 textBlockStyle->setDirection(style()->direction());
146 RenderStyle* parentStyle = innerBlock ? innerBlock->renderer()->style() : style();
165 updateUserModifyProperty(node(), m_innerText->renderer()->style());
249 if (style()->visibility() == HIDDEN || !m_innerText || !m_innerText->renderer() || !m_innerText->renderBox()->height()) {
261 // "-webkit-user-select: none" style attribute is specified.
433 // We are able to have a horizontal scrollbar if the overflow style is scroll, or if its auto and there's no word wrap.
434 if (style()->overflowX() == OSCROLL || (style()->overflowX() == OAUTO && m_innerText->renderer()->style()->wordWrap() == NormalWordWrap))
469 if (style()->width().isFixed() && style()->width().value() > 0)
470 m_minPrefWidth = m_maxPrefWidth = calcContentBoxWidth(style()->width().value());
473 float charWidth = style()->font().primaryFont()->avgCharWidth();
477 if (style()->minWidth().isFixed() && style()->minWidth().value() > 0) {
478 m_maxPrefWidth = max(m_maxPrefWidth, calcContentBoxWidth(style()->minWidth().value()));
479 m_minPrefWidth = max(m_minPrefWidth, calcContentBoxWidth(style()->minWidth().value()));
480 } else if (style()->width().isPercent() || (style()->width().isAuto() && style()->height().isPercent()))
485 if (style()->maxWidth().isFixed() && style()->maxWidth().value() != undefinedLength) {
486 m_maxPrefWidth = min(m_maxPrefWidth, calcContentBoxWidth(style()->maxWidth().value()));
487 m_minPrefWidth = min(m_minPrefWidth, calcContentBoxWidth(style()->maxWidth().value()));
524 // Sets the inner text style to the normal style or :placeholder style.