Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
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.cpp45 this->renderStyle = RenderStyle::clone(style); in set()
52 renderStyle = nullptr; in clear()
75 if (cacheItem->renderStyle->insideLink() != styleResolverState.style()->insideLink()) in find()
117 if (cacheItem->renderStyle->hasViewportUnits()) in clearViewportDependent()
DElementResolveContext.cpp43 RenderStyle* documentStyle = document.renderStyle(); in ElementResolveContext()
44 …yle = documentElement && element != documentElement ? documentElement->renderStyle() : documentSty… in ElementResolveContext()
DSharedStyleFinder.cpp202 RenderStyle* style = candidate.renderStyle(); in canShareStyleWithElement()
209 if (element().parentOrShadowHostElement()->renderStyle() != parent->renderStyle()) in canShareStyleWithElement()
341 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.cpp45 m_parentStyle = m_elementContext.parentNode()->renderStyle(); in StyleResolverState()
DMatchedPropertiesCache.h41 RefPtr<RenderStyle> renderStyle; member
DStyleAdjuster.cpp281 if (e && e->renderStyle() && e->renderStyle()->textAutosizingMultiplier() != 1) { in adjustRenderStyle()
284 style->setTextAutosizingMultiplier(e->renderStyle()->textAutosizingMultiplier()); in adjustRenderStyle()
DStyleResolver.cpp641 if (RenderStyle* styleOfShadowHost = parent->renderStyle()) in styleForElement()
753 if (element.renderStyle()) in createAnimatableValueSnapshot()
754 style = RenderStyle::clone(element.renderStyle()); in createAnimatableValueSnapshot()
893 … rootElementStyle = state.rootElementStyle() ? state.rootElementStyle() : document().renderStyle(); in styleForPage()
966 if (!parentNode || !parentNode->renderStyle()) in styleForText()
968 return parentNode->renderStyle(); in styleForText()
1442 state.style()->copyNonInheritedFrom(cachedMatchedProperties->renderStyle.get()); in applyMatchedProperties()
1450 state.style()->inheritFrom(cachedMatchedProperties->renderStyle.get()); in applyMatchedProperties()
1486 …if (cachedMatchedProperties && cachedMatchedProperties->renderStyle->effectiveZoom() != state.styl… in applyMatchedProperties()
1499 …if (cachedMatchedProperties && cachedMatchedProperties->renderStyle->fontDescription() != state.st… in applyMatchedProperties()
/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.cpp917 if (renderStyle()->affectedByFocus() && renderStyle()->hasPseudoStyle(FIRST_LETTER)) in focusStateChanged()
921 else if (renderStyle()->affectedByFocus()) in focusStateChanged()
958 if (renderStyle()->affectedByActive() && renderStyle()->hasPseudoStyle(FIRST_LETTER)) in setActive()
962 else if (renderStyle()->affectedByActive()) in setActive()
966 if (renderStyle()->hasAppearance()) in setActive()
990 if (renderStyle()->affectedByHover() && renderStyle()->hasPseudoStyle(FIRST_LETTER)) in setHovered()
994 else if (renderStyle()->affectedByHover()) in setHovered()
1185 RenderStyle* newFirstChildStyle = newFirstChild ? newFirstChild->renderStyle() : 0; in checkForSiblingStyleChanges()
1189 …ntAfterInsertionStyle = firstElementAfterInsertion ? firstElementAfterInsertion->renderStyle() : 0; in checkForSiblingStyleChanges()
1205 RenderStyle* newLastChildStyle = newLastChild ? newLastChild->renderStyle() : 0; in checkForSiblingStyleChanges()
[all …]
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebDocumentTest.cpp46 RenderStyle* style = bodyElement->renderStyle(); in TEST()
55 style = bodyElement->renderStyle(); in TEST()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderMenuList.cpp180 if (RenderStyle* optionStyle = element->renderStyle()) in updateOptionsWidth()
244 m_optionStyle = selectedOptionElement->renderStyle(); in setTextFromOption()
257 m_optionStyle = element->renderStyle(); in setTextFromOption()
505 RenderStyle* style = element->renderStyle() ? element->renderStyle() : element->computedStyle(); in itemStyle()
522 if (element->renderStyle()) in getItemBackgroundColor()
523 backgroundColor = resolveColor(element->renderStyle(), CSSPropertyBackgroundColor); in getItemBackgroundColor()
DRenderListBox.cpp435 RenderStyle* itemStyle = element->renderStyle(); in paintItemForeground()
450 …Color textColor = element->renderStyle() ? resolveColor(element->renderStyle(), CSSPropertyColor) … in paintItemForeground()
491 …backColor = element->renderStyle() ? resolveColor(element->renderStyle(), CSSPropertyBackgroundCol… in paintItemBackground()
495 if (!element->renderStyle() || element->renderStyle()->visibility() != HIDDEN) { in paintItemBackground()
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLOptGroupElement.cpp55 return renderStyle() && renderStyle()->display() != NONE; in rendererIsFocusable()
DHTMLOptionElement.cpp101 return renderStyle() && renderStyle()->display() != NONE; in rendererIsFocusable()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DSimplifyMarkupCommand.cpp58 RenderStyle* startingStyle = startingNode->renderStyle(); in doApply()
80 …if (currentNode->renderStyle()->visualInvalidationDiff(*startingStyle, context).hasNoChange() && !… in doApply()
DEditingStyle.cpp469 RenderStyle* renderStyle = node->computedStyle(); in init() local
470 removeTextFillAndStrokeColorsIfNeeded(renderStyle); in init()
471 replaceFontSizeByKeywordIfPossible(renderStyle, computedStyleAtPosition.get()); in init()
478 void EditingStyle::removeTextFillAndStrokeColorsIfNeeded(RenderStyle* renderStyle) in removeTextFillAndStrokeColorsIfNeeded() argument
483 if (renderStyle->textFillColor().isCurrentColor()) in removeTextFillAndStrokeColorsIfNeeded()
485 if (renderStyle->textStrokeColor().isCurrentColor()) in removeTextFillAndStrokeColorsIfNeeded()
497 void EditingStyle::replaceFontSizeByKeywordIfPossible(RenderStyle* renderStyle, CSSComputedStyleDec… in replaceFontSizeByKeywordIfPossible() argument
499 ASSERT(renderStyle); in replaceFontSizeByKeywordIfPossible()
500 if (renderStyle->fontDescription().keywordSize()) in replaceFontSizeByKeywordIfPossible()
/external/chromium_org/third_party/WebKit/Source/core/accessibility/
DAXTable.cpp243 RenderStyle* renderStyle = cell->style(); in isDataTable() local
244 if (!renderStyle) in isDataTable()
248 if (renderStyle->emptyCells() == HIDE) in isDataTable()
269 Color cellColor = renderStyle->visitedDependentColor(CSSPropertyBackgroundColor); in isDataTable()
/external/chromium_org/third_party/WebKit/Source/core/css/
DAffectedByFocusTest.cpp65 ASSERT(elm->renderStyle()); in checkElements()
66 ASSERT_EQ(expected[i].affectedBy, elm->renderStyle()->affectedByFocus()); in checkElements()
DSelectorChecker.cpp602 …else if (element.renderStyle() && (element.document().styleEngine()->usesSiblingRules() || element… in checkOne()
603 element.renderStyle()->setEmptyState(result); in checkOne()
612 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
634 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
657 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
686 … RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); in checkOne()
/external/chromium_org/third_party/WebKit/Source/core/page/
DTouchAdjustment.cpp94 if (RenderStyle* renderStyle = node->renderStyle()) { in nodeRespondsToTapGesture() local
95 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/web/
DWebAXObject.cpp902 RenderStyle* renderStyle = node->computedStyle(); in computedStyleDisplay() local
903 if (!renderStyle) in computedStyleDisplay()
906 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()

12