Home
last modified time | relevance | path

Searched refs:renderStyle (Results 1 – 25 of 29) sorted by relevance

12

/external/webkit/Source/WebCore/html/
DHTMLOptGroupElement.cpp59 return supportsFocus() && renderStyle() && renderStyle()->display() != NONE; in isFocusable()
91 if (parentNode()->renderStyle()) in attach()
DHTMLOptionElement.cpp83 if (parentNode()->renderStyle()) in attach()
102 return supportsFocus() && renderStyle() && renderStyle()->display() != NONE; in isFocusable()
/external/webkit/Source/WebCore/platform/qt/
DRenderThemeQt.cpp452 void RenderThemeQt::computeSizeBasedOnStyle(RenderStyle* renderStyle) const in computeSizeBasedOnStyle()
455 const QFontMetrics fm(renderStyle->font().font()); in computeSizeBasedOnStyle()
458 switch (renderStyle->appearance()) { in computeSizeBasedOnStyle()
463 renderStyle->setPaddingLeft(Length(padding, Fixed)); in computeSizeBasedOnStyle()
464 renderStyle->setPaddingRight(Length(padding, Fixed)); in computeSizeBasedOnStyle()
465 renderStyle->setPaddingTop(Length(padding, Fixed)); in computeSizeBasedOnStyle()
466 renderStyle->setPaddingBottom(Length(padding, Fixed)); in computeSizeBasedOnStyle()
473 if (!renderStyle->width().isIntrinsicOrAuto() && !renderStyle->height().isAuto()) in computeSizeBasedOnStyle()
476 switch (renderStyle->appearance()) { in computeSizeBasedOnStyle()
481 checkBoxWidth *= renderStyle->effectiveZoom(); in computeSizeBasedOnStyle()
[all …]
DRenderThemeQt.h167 void computeSizeBasedOnStyle(RenderStyle* renderStyle) const;
/external/webkit/Source/WebCore/rendering/
DRenderListBox.cpp365 RenderStyle* itemStyle = element->renderStyle(); in paintItemForeground()
378 …Color textColor = element->renderStyle() ? element->renderStyle()->visitedDependentColor(CSSProper… in paintItemForeground()
423 …backColor = element->renderStyle() ? element->renderStyle()->visitedDependentColor(CSSPropertyBack… in paintItemBackground()
426 if (!element->renderStyle() || element->renderStyle()->visibility() != HIDDEN) { in paintItemBackground()
427 …ColorSpace colorSpace = element->renderStyle() ? element->renderStyle()->colorSpace() : style()->c… in paintItemBackground()
DRenderMenuList.cpp154 if (RenderStyle* optionStyle = element->renderStyle()) in updateOptionsWidth()
197 m_optionStyle = element->renderStyle(); in setTextFromOption()
430 RenderStyle* style = element->renderStyle() ? element->renderStyle() : element->computedStyle(); in itemStyle()
443 if (element->renderStyle()) in itemBackgroundColor()
444 backgroundColor = element->renderStyle()->visitedDependentColor(CSSPropertyBackgroundColor); in itemBackgroundColor()
/external/webkit/Source/WebCore/dom/
DElement.cpp1033 ASSERT(currentStyle == renderStyle()); in pseudoStyleCacheIsInvalid()
1075 RefPtr<RenderStyle> currentStyle(renderStyle()); in recalcStyle()
1076 …Style = parentNodeForRenderingAndStyle() ? parentNodeForRenderingAndStyle()->renderStyle() : false; in recalcStyle()
1252 …firstElementAfterInsertion->renderStyle() && firstElementAfterInsertion->renderStyle()->firstChild… in checkForSiblingStyleChanges()
1256 …mentAfterInsertion && newFirstChild && newFirstChild->renderStyle() && !newFirstChild->renderStyle in checkForSiblingStyleChanges()
1274 …lastElementBeforeInsertion->renderStyle() && lastElementBeforeInsertion->renderStyle()->lastChildS… in checkForSiblingStyleChanges()
1279 …lementBeforeInsertion && newLastChild && newLastChild->renderStyle() && !newLastChild->renderStyle in checkForSiblingStyleChanges()
1313 checkForEmptyStyleChange(this, renderStyle()); in childrenChanged()
1315 …checkForSiblingStyleChanges(this, renderStyle(), false, beforeChange, afterChange, childCountDelta… in childrenChanged()
1330 checkForSiblingStyleChanges(this, renderStyle(), true, lastChild(), 0, 0); in finishParsingChildren()
[all …]
DNodeRenderStyle.h34 inline RenderStyle* Node::renderStyle() const in renderStyle() function
DNode.h467 RenderStyle* renderStyle() const;
/external/webkit/Source/WebCore/platform/graphics/gtk/
DGraphicsContext3DGtk.cpp40 …ntext3D::Attributes attributes, HostWindow* hostWindow, GraphicsContext3D::RenderStyle renderStyle) in create() argument
43 if (renderStyle == RenderDirectlyToHostWindow) in create()
/external/webkit/Source/WebCore/editing/
DEditingStyle.cpp316 RenderStyle* renderStyle = node->computedStyle(); in init() local
317 removeTextFillAndStrokeColorsIfNeeded(renderStyle); in init()
318 replaceFontSizeByKeywordIfPossible(renderStyle, computedStyleAtPosition.get()); in init()
325 void EditingStyle::removeTextFillAndStrokeColorsIfNeeded(RenderStyle* renderStyle) in removeTextFillAndStrokeColorsIfNeeded() argument
331 if (!renderStyle->textFillColor().isValid()) in removeTextFillAndStrokeColorsIfNeeded()
333 if (!renderStyle->textStrokeColor().isValid()) in removeTextFillAndStrokeColorsIfNeeded()
347 void EditingStyle::replaceFontSizeByKeywordIfPossible(RenderStyle* renderStyle, CSSComputedStyleDec… in replaceFontSizeByKeywordIfPossible() argument
349 ASSERT(renderStyle); in replaceFontSizeByKeywordIfPossible()
350 if (renderStyle->fontDescription().keywordSize()) in replaceFontSizeByKeywordIfPossible()
/external/webkit/Source/WebKit/chromium/src/
DWebAccessibilityObject.cpp533 RenderStyle* renderStyle = node->computedStyle(); in computedStyleDisplay() local
534 if (!renderStyle) in computedStyleDisplay()
537 return WebString(CSSPrimitiveValue::create(renderStyle->display())->getStringValue()); in computedStyleDisplay()
DGraphicsContext3DChromium.cpp937 …icsContext3D::Attributes attrs, HostWindow* hostWindow, GraphicsContext3D::RenderStyle renderStyle) in create() argument
940 if (!internal->initialize(attrs, hostWindow, renderStyle == RenderDirectlyToHostWindow)) { in create()
943 …sContext3D> result = adoptRef(new GraphicsContext3D(attrs, hostWindow, renderStyle == RenderDirect… in create()
/external/webkit/Source/WebCore/accessibility/
DAccessibilityTable.cpp182 RenderStyle* renderStyle = cell->style(); in isDataTable() local
183 if (!renderStyle) in isDataTable()
193 Color cellColor = renderStyle->visitedDependentColor(CSSPropertyBackgroundColor); in isDataTable()
/external/webkit/Source/WebCore/css/
DMediaQueryEvaluator.cpp313 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); in device_heightMediaFeatureEval()
325 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); in device_widthMediaFeatureEval()
336 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); in heightMediaFeatureEval()
347 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); in widthMediaFeatureEval()
DCSSStyleSelector.cpp831 m_parentStyle = m_parentNode ? m_parentNode->renderStyle() : 0; in initForStyleResolve()
834 RenderStyle* docStyle = m_checker.m_document->renderStyle(); in initForStyleResolve()
835 m_rootElementStyle = docElement && e != docElement ? docElement->renderStyle() : docStyle; in initForStyleResolve()
955 RenderStyle* parentStyle = p->renderStyle(); in locateCousinList()
966 if (currentNode->renderStyle() == parentStyle && currentNode->lastChild()) { in locateCousinList()
998 RenderStyle* style = element->renderStyle(); in canShareStyleWithElement()
1166 return shareNode->renderStyle(); in locateSharedStyle()
2062 …ctorAttrs, m_dynamicPseudo, false, false, style(), m_parentNode ? m_parentNode->renderStyle() : 0); in checkSelector()
2219 RenderStyle* currentStyle = elementStyle ? elementStyle : e->renderStyle(); in checkSelector()
2251 … RenderStyle* parentStyle = elementStyle ? elementParentStyle : e->parentNode()->renderStyle(); in checkSelector()
[all …]
DCSSGradientValue.cpp533 RenderStyle* rootStyle = renderer->document()->documentElement()->renderStyle(); in createGradient()
726 RenderStyle* rootStyle = renderer->document()->documentElement()->renderStyle(); in createGradient()
/external/webkit/Source/WebCore/wml/
DWMLOptGroupElement.cpp94 if (parentNode()->renderStyle()) in attach()
DWMLOptionElement.cpp101 if (parentNode()->renderStyle()) in attach()
/external/webkit/Source/WebCore/platform/graphics/mac/
DGraphicsContext3DMac.mm81 …icsContext3D::Attributes attrs, HostWindow* hostWindow, GraphicsContext3D::RenderStyle renderStyle)
84 if (renderStyle == RenderDirectlyToHostWindow)
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContext3DQt.cpp607 …icsContext3D::Attributes attrs, HostWindow* hostWindow, GraphicsContext3D::RenderStyle renderStyle) in create() argument
610 if (renderStyle == RenderDirectlyToHostWindow) in create()
/external/webkit/Source/WebKit/qt/Api/
Dqwebpage.cpp1407 RenderStyle* renderStyle = renderTextControl->style(); in inputMethodQuery() local
1408 return QVariant(QFont(renderStyle->font().font())); in inputMethodQuery()
/external/webkit/Source/WebCore/
DChangeLog-2006-12-3143543 * dom/Node.cpp: (WebCore::Node::renderStyle): Made a const member function.
45428 …(WebCore::Node::renderStyle): Added. Returns the renderer's style. If there's no renderer, return…
45432 …* dom/Element.cpp: (WebCore::Element::recalcStyle): Updated to use renderStyle so recalcStyle will…
45434 …* css/cssstyleselector.cpp: Updated to call renderStyle method on the node, so resolving style wor…
45447 (WebCore::HTMLOptGroupElement::renderStyle): Added.
45450 (WebCore::HTMLOptionElement::renderStyle): Added.
45454 (WebCore::HTMLOptGroupElement::attach): Set the renderStyle.
DChangeLog-2005-12-195257 (KSVG::KCanvasRenderingStyle::renderStyle):
26096 (CDFInterface::renderStyle):
27349 (SVGStyledElementImpl::renderStyle):
DChangeLog-2009-06-1645167 Fix WML build by including the inlined renderStyle().
91288 …by querySelectorAll by around 10% by inlining the common case of Node::renderStyle(). Many thanks …
91293 * dom/Node.cpp: Remove the definition of renderStyle()
91295 * dom/Node.h: Make renderStyle() nonvirtual and add nonRendererRenderStyle()
91297 …(WebCore::Node::renderStyle): Inline the common case of this, call nonRendererRenderStyle for the …

12