HomeSort by relevance Sort by last modified time
    Searched refs:renderStyle (Results 1 - 25 of 30) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/core/dom/
NodeRenderStyle.h 31 #include "core/rendering/style/RenderStyle.h"
35 inline RenderStyle* Node::renderStyle() const
44 inline RenderStyle* Node::parentRenderStyle() const
47 return parent ? parent->renderStyle() : 0;
ContainerNode.cpp 805 if (renderStyle()->affectedByFocus() || (isElementNode() && toElement(this)->childrenAffectedByFocus()))
833 if (renderStyle()->affectedByActive() || (isElementNode() && toElement(this)->childrenAffectedByActive()))
835 if (renderStyle()->hasAppearance())
855 if (renderStyle()->affectedByHover() || (isElementNode() && toElement(this)->childrenAffectedByHover()))
Element.cpp 530 // time (or store an additional bit in the RenderStyle to indicate that a zoom was specified).
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
ElementResolveContext.cpp 45 RenderStyle* documentStyle = document.renderStyle();
46 m_rootElementStyle = documentElement && element != documentElement ? documentElement->renderStyle() : documentStyle;
StyleResolverState.cpp 31 StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle, RenderRegion* regionForStyling)
47 m_parentStyle = m_elementContext.parentNode()->renderStyle();
StyleResourceLoader.cpp 36 #include "core/rendering/style/RenderStyle.h"
56 void StyleResourceLoader::loadPendingSVGDocuments(RenderStyle* renderStyle, const ElementStyleResources& elementStyleResources)
58 if (!renderStyle->hasFilter() || elementStyleResources.pendingSVGDocuments().isEmpty())
61 Vector<RefPtr<FilterOperation> >& filterOperations = renderStyle->mutableFilter().operations();
106 void StyleResourceLoader::loadPendingShapeImage(RenderStyle* renderStyle, ShapeValue* shapeValue)
124 void StyleResourceLoader::loadPendingImages(RenderStyle* style, const ElementStyleResources& elementStyleResources)
210 void StyleResourceLoader::loadPendingShaders(RenderStyle* style, const ElementStyleResources& elementStyleResources)
245 void StyleResourceLoader::loadPendingResources(RenderStyle* renderStyle, ElementStyleResources& elementStyleResources
    [all...]
MatchedPropertiesCache.h 35 class RenderStyle;
41 RefPtr<RenderStyle> renderStyle;
42 RefPtr<RenderStyle> parentRenderStyle;
44 void set(const RenderStyle*, const RenderStyle* parentStyle, const MatchResult&);
54 void add(const RenderStyle*, const RenderStyle* parentStyle, unsigned hash, const MatchResult&);
58 static bool isCacheable(const Element*, const RenderStyle*, const RenderStyle* parentStyle)
    [all...]
MatchedPropertiesCache.cpp 34 #include "core/rendering/style/RenderStyle.h"
38 void CachedMatchedProperties::set(const RenderStyle* style, const RenderStyle* parentStyle, const MatchResult& matchResult)
43 // Note that we don't cache the original RenderStyle instance. It may be further modified.
44 // The RenderStyle in the cache is really just a holder for the substructures and never used as-is.
45 this->renderStyle = RenderStyle::clone(style);
46 this->parentRenderStyle = RenderStyle::clone(parentStyle);
52 renderStyle = 0;
75 if (cacheItem->renderStyle->insideLink() != styleResolverState.style()->insideLink()
    [all...]
ViewportStyleResolver.cpp 140 return primitiveValue->getFloatValue() * m_document->renderStyle()->fontDescription().computedSize();
187 return primitiveValue->computeLength<Length>(CSSToLengthConversionData(m_document->renderStyle(), m_document->renderStyle(), 1.0f));
SharedStyleFinder.cpp 48 #include "core/rendering/style/RenderStyle.h"
165 RenderStyle* style = candidate.renderStyle();
172 if (element().parentElement()->renderStyle() != parent->renderStyle())
276 RenderStyle* SharedStyleFinder::findSharedStyle()
312 return shareElement->renderStyle();
StyleResolver.cpp 107 RenderStyle* StyleResolver::s_styleNotYetAvailable;
585 PassRefPtr<RenderStyle> StyleResolver::styleForDocument(Document& document, CSSFontSelector* fontSelector)
593 RefPtr<RenderStyle> documentStyle = RenderStyle::create();
596 RenderStyle* iframeStyle = document.seamlessParentIFrame()->renderStyle();
637 PassRefPtr<RenderStyle> StyleResolver::styleForElement(Element* element, RenderStyle* defaultParent, StyleSharingBehavior sharingBehavior,
649 s_styleNotYetAvailable = RenderStyle::create().leakRef();
665 if (RefPtr<RenderStyle> sharedStyle = styleFinder.findSharedStyle()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLOptGroupElement.cpp 57 // Optgroup elements do not have a renderer so we check the renderStyle instead.
58 return renderStyle() && renderStyle()->display() != NONE;
97 if (!m_style && parentNode()->renderStyle())
112 RenderStyle* HTMLOptGroupElement::nonRendererStyle() const
117 PassRefPtr<RenderStyle> HTMLOptGroupElement::customStyleForRenderer()
HTMLOptionElement.cpp 89 if (!m_style && parentNode()->renderStyle())
101 // Option elements do not have a renderer so we check the renderStyle instead.
102 return renderStyle() && renderStyle()->display() != NONE;
298 RenderStyle* HTMLOptionElement::nonRendererStyle() const
303 PassRefPtr<RenderStyle> HTMLOptionElement::customStyleForRenderer()
  /external/chromium_org/third_party/WebKit/Source/core/html/parser/
HTMLResourcePreloader.cpp 76 static bool mediaAttributeMatches(Frame* frame, RenderStyle* renderStyle, const String& attributeValue)
79 MediaQueryEvaluator mediaQueryEvaluator("screen", frame, renderStyle);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
SimplifyMarkupCommand.cpp 33 #include "core/rendering/style/RenderStyle.h"
58 RenderStyle* startingStyle = startingNode->renderStyle();
80 if (currentNode->renderStyle()->diff(startingStyle, context) == StyleDifferenceEqual)
EditingStyle.cpp 54 #include "core/rendering/style/RenderStyle.h"
465 RenderStyle* renderStyle = node->computedStyle();
466 removeTextFillAndStrokeColorsIfNeeded(renderStyle);
467 replaceFontSizeByKeywordIfPossible(renderStyle, computedStyleAtPosition.get());
474 void EditingStyle::removeTextFillAndStrokeColorsIfNeeded(RenderStyle* renderStyle)
479 if (!renderStyle->textFillColor().isValid())
481 if (!renderStyle->textStrokeColor().isValid())
493 void EditingStyle::replaceFontSizeByKeywordIfPossible(RenderStyle* renderStyle, CSSComputedStyleDeclaration* computedStyle
    [all...]
ApplyBlockElementCommand.cpp 39 #include "core/rendering/style/RenderStyle.h"
171 static RenderStyle* renderStyleOfEnclosingTextNode(const Position& position)
175 return position.containerNode()->renderStyle();
186 if (RenderStyle* startStyle = renderStyleOfEnclosingTextNode(start)) {
213 if (RenderStyle* endStyle = renderStyleOfEnclosingTextNode(end)) {
245 RenderStyle* style = renderStyleOfEnclosingTextNode(position);
  /external/chromium_org/third_party/WebKit/Source/core/accessibility/
AXTable.cpp 146 RenderStyle* tableStyle = table->style();
201 RenderStyle* renderStyle = cell->style();
202 if (!renderStyle)
206 if (renderStyle->emptyCells() == HIDE)
227 Color cellColor = renderStyle->visitedDependentColor(CSSPropertyBackgroundColor);
241 RenderStyle* rowRenderStyle = renderRow->style();
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderMenuList.cpp 93 RenderStyle* innerStyle = m_innerBlock->style();
146 void RenderMenuList::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
177 if (RenderStyle* optionStyle = element->renderStyle())
220 m_optionStyle = element->renderStyle();
469 RenderStyle* style = element->renderStyle() ? element->renderStyle() : element->computedStyle();
486 if (element->renderStyle())
487 backgroundColor = resolveColor(element->renderStyle(), CSSPropertyBackgroundColor)
    [all...]
RenderListBox.cpp 372 static LayoutSize itemOffsetForAlignment(TextRun textRun, RenderStyle* itemStyle, Font itemFont, LayoutRect itemBoudingBox)
401 RenderStyle* itemStyle = element->renderStyle();
416 Color textColor = element->renderStyle() ? resolveColor(element->renderStyle(), CSSPropertyColor) : resolveColor(CSSPropertyColor);
457 backColor = element->renderStyle() ? resolveColor(element->renderStyle(), CSSPropertyBackgroundColor) : resolveColor(CSSPropertyBackgroundColor);
461 if (!element->renderStyle() || element->renderStyle()->visibility() != HIDDEN) {
  /external/chromium_org/third_party/WebKit/Source/core/html/shadow/
PasswordGeneratorButtonElement.cpp 80 PassRefPtr<RenderStyle> PasswordGeneratorButtonElement::customStyleForRenderer()
82 RefPtr<RenderStyle> originalStyle = originalStyleForRenderer();
83 RefPtr<RenderStyle> style = RenderStyle::clone(originalStyle.get());
84 RenderStyle* inputStyle = hostInput()->renderStyle();
93 RenderObject* PasswordGeneratorButtonElement::createRenderer(RenderStyle*)
TextControlInnerElements.cpp 63 RenderObject* TextControlInnerContainer::createRenderer(RenderStyle*)
83 PassRefPtr<RenderStyle> EditingViewPortElement::customStyleForRenderer()
87 RefPtr<RenderStyle> style = RenderStyle::create();
88 style->inheritFrom(shadowHost()->renderStyle());
139 RenderObject* TextControlInnerTextElement::createRenderer(RenderStyle*)
144 PassRefPtr<RenderStyle> TextControlInnerTextElement::customStyleForRenderer()
  /external/chromium_org/third_party/WebKit/Source/core/page/
TouchAdjustment.cpp 35 #include "core/rendering/style/RenderStyle.h"
82 if (RenderStyle* renderStyle = node->renderStyle()) {
83 if (renderStyle->affectedByActive() || renderStyle->affectedByHover())
  /external/chromium_org/third_party/WebKit/Source/core/css/
SelectorChecker.cpp 54 #include "core/rendering/style/RenderStyle.h"
537 else if (element.renderStyle() && (element.document().styleEngine()->usesSiblingRules() || element.renderStyle()->unique()))
538 element.renderStyle()->setEmptyState(result);
547 RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle();
569 RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle();
592 RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle();
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebAXObject.cpp 48 #include "core/rendering/style/RenderStyle.h"
798 RenderStyle* renderStyle = node->computedStyle();
799 if (!renderStyle)
802 return WebString(CSSPrimitiveValue::create(renderStyle->display())->getStringValue());

Completed in 585 milliseconds

1 2