Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebDocumentTest.cpp44 RenderStyle* style = bodyElement->renderStyle(); in TEST()
53 style = bodyElement->renderStyle(); in TEST()
76 RenderStyle* transitionStyle = transitionElement->renderStyle(); in TEST()
82 RenderStyle* bodyStyle = bodyElement->renderStyle(); in TEST()
94 transitionStyle = transitionElement->renderStyle(); in TEST()
99 bodyStyle = bodyElement->renderStyle(); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DElementResolveContext.cpp35 …le(document.documentElement() ? document.documentElement()->renderStyle() : document.renderStyle()) in ElementResolveContext()
52 RenderStyle* documentStyle = document.renderStyle(); in ElementResolveContext()
53 …yle = documentElement && element != documentElement ? documentElement->renderStyle() : documentSty… in ElementResolveContext()
DStyleResourceLoader.cpp48 void StyleResourceLoader::loadPendingSVGDocuments(RenderStyle* renderStyle, ElementStyleResources& … in loadPendingSVGDocuments() argument
50 if (!renderStyle->hasFilter() || elementStyleResources.pendingSVGDocuments().isEmpty()) in loadPendingSVGDocuments()
53 Vector<RefPtr<FilterOperation> >& filterOperations = renderStyle->mutableFilter().operations(); in loadPendingSVGDocuments()
100 void StyleResourceLoader::loadPendingShapeImage(RenderStyle* renderStyle, ShapeValue* shapeValue, f… in loadPendingShapeImage() argument
202 void StyleResourceLoader::loadPendingResources(RenderStyle* renderStyle, ElementStyleResources& ele… in loadPendingResources() argument
205 loadPendingImages(renderStyle, elementStyleResources); in loadPendingResources()
208 loadPendingSVGDocuments(renderStyle, elementStyleResources); in loadPendingResources()
DMatchedPropertiesCache.cpp73 this->renderStyle = RenderStyle::clone(style); in set()
80 renderStyle = nullptr; in clear()
105 if (cacheItem->renderStyle->insideLink() != styleResolverState.style()->insideLink()) in find()
149 if (cacheItem->renderStyle->hasViewportUnits()) in clearViewportDependent()
DSharedStyleFinder.cpp201 RenderStyle* style = candidate.renderStyle(); in canShareStyleWithElement()
208 if (element().parentOrShadowHostElement()->renderStyle() != parent->renderStyle()) in canShareStyleWithElement()
342 return shareElement->renderStyle(); in findSharedStyle()
DViewportStyleResolver.cpp133 …return primitiveValue->getFloatValue() * m_document->renderStyle()->fontDescription().computedSize… in viewportArgumentValue()
182 RenderStyle* documentStyle = m_document->renderStyle(); in viewportLengthValue()
DStyleResolverState.cpp44 m_parentStyle = m_elementContext.parentNode()->renderStyle(); in StyleResolverState()
DStyleAdjuster.cpp238 if (e && e->renderStyle() && e->renderStyle()->textAutosizingMultiplier() != 1) { in adjustRenderStyle()
241 style->setTextAutosizingMultiplier(e->renderStyle()->textAutosizingMultiplier()); in adjustRenderStyle()
DStyleResolver.cpp592 if (RenderStyle* styleOfShadowHost = parent->renderStyle()) in styleForElement()
700 if (element.renderStyle()) in createAnimatableValueSnapshot()
701 style = RenderStyle::clone(element.renderStyle()); in createAnimatableValueSnapshot()
843 … rootElementStyle = state.rootElementStyle() ? state.rootElementStyle() : document().renderStyle(); in styleForPage()
915 if (!parentNode || !parentNode->renderStyle()) in styleForText()
917 return parentNode->renderStyle(); in styleForText()
1406 state.style()->copyNonInheritedFrom(cachedMatchedProperties->renderStyle.get()); in applyMatchedProperties()
1414 state.style()->inheritFrom(cachedMatchedProperties->renderStyle.get()); in applyMatchedProperties()
1443 …if (cachedMatchedProperties && cachedMatchedProperties->renderStyle->effectiveZoom() != state.styl… in applyMatchedProperties()
1456 …if (cachedMatchedProperties && cachedMatchedProperties->renderStyle->fontDescription() != state.st… in applyMatchedProperties()
DMatchedPropertiesCache.h44 RefPtr<RenderStyle> renderStyle; variable
/external/chromium_org/third_party/WebKit/Source/core/dom/
DNodeRenderStyle.h36 inline RenderStyle* Node::renderStyle() const in renderStyle() function
51 return parent ? parent->renderStyle() : 0; in parentRenderStyle()
DContainerNode.cpp1004 if (renderStyle()->affectedByFocus() && renderStyle()->hasPseudoStyle(FIRST_LETTER)) in focusStateChanged()
1008 else if (renderStyle()->affectedByFocus()) in focusStateChanged()
1045 if (renderStyle()->affectedByActive() && renderStyle()->hasPseudoStyle(FIRST_LETTER)) in setActive()
1049 else if (renderStyle()->affectedByActive()) in setActive()
1053 if (renderStyle()->hasAppearance()) in setActive()
1077 if (renderStyle()->affectedByHover() && renderStyle()->hasPseudoStyle(FIRST_LETTER)) in setHovered()
1081 else if (renderStyle()->affectedByHover()) in setHovered()
1295 … RenderStyle* firstChildElementStyle = firstChildElement ? firstChildElement->renderStyle() : 0; in checkForSiblingStyleChanges()
1299 … RenderStyle* elementAfterChangeStyle = elementAfterChange ? elementAfterChange->renderStyle() : 0; in checkForSiblingStyleChanges()
1317 RenderStyle* lastChildElementStyle = lastChildElement ? lastChildElement->renderStyle() : 0; in checkForSiblingStyleChanges()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMenuList.cpp193 if (RenderStyle* optionStyle = element->renderStyle()) in updateOptionsWidth()
258 m_optionStyle = selectedOptionElement->renderStyle(); in setTextFromOption()
271 m_optionStyle = element->renderStyle(); in setTextFromOption()
519 RenderStyle* style = element->renderStyle() ? element->renderStyle() : element->computedStyle(); in itemStyle()
537 if (element->renderStyle()) in getItemBackgroundColor()
538 backgroundColor = resolveColor(element->renderStyle(), CSSPropertyBackgroundColor); in getItemBackgroundColor()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DSimplifyMarkupCommand.cpp58 RenderStyle* startingStyle = startingNode->renderStyle(); in doApply()
79 if (!currentNode->renderStyle()->visualInvalidationDiff(*startingStyle).hasDifference()) in doApply()
DEditingStyle.cpp475 RenderStyle* renderStyle = node->computedStyle(); in init() local
476 removeTextFillAndStrokeColorsIfNeeded(renderStyle); in init()
477 replaceFontSizeByKeywordIfPossible(renderStyle, computedStyleAtPosition.get()); in init()
484 void EditingStyle::removeTextFillAndStrokeColorsIfNeeded(RenderStyle* renderStyle) in removeTextFillAndStrokeColorsIfNeeded() argument
489 if (renderStyle->textFillColor().isCurrentColor()) in removeTextFillAndStrokeColorsIfNeeded()
491 if (renderStyle->textStrokeColor().isCurrentColor()) in removeTextFillAndStrokeColorsIfNeeded()
503 void EditingStyle::replaceFontSizeByKeywordIfPossible(RenderStyle* renderStyle, CSSComputedStyleDec… in replaceFontSizeByKeywordIfPossible() argument
505 ASSERT(renderStyle); in replaceFontSizeByKeywordIfPossible()
506 if (renderStyle->fontDescription().keywordSize()) in replaceFontSizeByKeywordIfPossible()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXTable.cpp240 RenderStyle* renderStyle = cell->style(); in isDataTable() local
241 if (!renderStyle) in isDataTable()
245 if (renderStyle->emptyCells() == HIDE) in isDataTable()
266 Color cellColor = renderStyle->visitedDependentColor(CSSPropertyBackgroundColor); in isDataTable()
/external/chromium_org/third_party/WebKit/Source/core/css/
DAffectedByFocusTest.cpp66 ASSERT(element->renderStyle()); in checkElements()
67 ASSERT_EQ(expected[i].affectedBy, element->renderStyle()->affectedByFocus()); in checkElements()
DSelectorChecker.cpp582 …else if (element.renderStyle() && (element.document().styleEngine()->usesSiblingRules() || element… in checkOne()
583 element.renderStyle()->setEmptyState(result); in checkOne()
592 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
614 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
637 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
666 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp97 if (RenderStyle* renderStyle = node->renderStyle()) { in nodeRespondsToTapGesture() local
98 if (renderStyle->affectedByActive() || renderStyle->affectedByHover()) in nodeRespondsToTapGesture()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DDocumentAnimations.cpp73 if (RenderStyle* style = element.renderStyle()) { in updateAnimationTimingForGetComputedStyle()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLOptionElement.cpp413 …RenderStyle* parentStyle = parent->renderStyle() ? parent->renderStyle() : parent->computedStyle(); in isDisplayNone()
/external/chromium_org/third_party/WebKit/Source/web/
DWebFormControlElement.cpp173 if (RenderStyle* style = constUnwrap<HTMLFormControlElement>()->renderStyle()) in directionForFormData()
DWebAXObject.cpp886 RenderStyle* renderStyle = node->computedStyle(); in computedStyleDisplay() local
887 if (!renderStyle) in computedStyleDisplay()
890 return WebString(CSSPrimitiveValue::create(renderStyle->display())->getStringValue()); in computedStyleDisplay()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DTextControlInnerElements.cpp85 style->inheritFrom(shadowHost()->renderStyle()); in customStyleForRenderer()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DInputType.cpp587 RenderStyle* style = element().renderStyle(); in warnIfValueIsInvalidAndElementIsVisible()
882 if (RenderStyle* style = element().renderStyle()) { in countUsageIfVisible()

12