Home
last modified time | relevance | path

Searched refs:styleSelector (Results 1 – 25 of 35) sorted by relevance

12

/external/webkit/Source/WebCore/css/
DStyleMedia.cpp62 CSSStyleSelector* styleSelector = document->styleSelector(); in matchMedium() local
63 if (!styleSelector) in matchMedium()
66 …RefPtr<RenderStyle> rootStyle = styleSelector->styleForElement(documentElement, 0 /*defaultParent*… in matchMedium()
DMediaQueryMatcher.cpp86 CSSStyleSelector* styleSelector = m_document->styleSelector(); in prepareEvaluator() local
87 if (!styleSelector) in prepareEvaluator()
90 …RefPtr<RenderStyle> rootStyle = styleSelector->styleForElement(documentElement, 0 /*defaultParent*… in prepareEvaluator()
DMediaQueryEvaluator.cpp133 bool MediaQueryEvaluator::eval(const MediaList* mediaList, CSSStyleSelector* styleSelector) const in eval()
157 if (styleSelector && exps->at(j)->isViewportDependent()) in eval()
158styleSelector->addViewportDependentMediaQueryResult(exps->at(j).get(), exprResult); in eval()
DCSSGradientValue.cpp122 …Color color = renderer->document()->styleSelector()->getColorFromPrimitiveValue(stop.m_color.get()… in addStops()
155 …stops[i].color = renderer->document()->styleSelector()->getColorFromPrimitiveValue(stop.m_color.ge… in addStops()
DCSSStyleSelector.cpp3160 …FromSheet(CSSStyleSheet* sheet, const MediaQueryEvaluator& medium, CSSStyleSelector* styleSelector) in addRulesFromSheet() argument
3167 if (sheet->media() && !medium.eval(sheet->media(), styleSelector)) in addRulesFromSheet()
3178 if (!import->media() || medium.eval(import->media(), styleSelector)) in addRulesFromSheet()
3179 addRulesFromSheet(import->styleSheet(), medium, styleSelector); in addRulesFromSheet()
3185 if ((!r->media() || medium.eval(r->media(), styleSelector)) && rules) { in addRulesFromSheet()
3192 } else if (childItem->isFontFaceRule() && styleSelector) { in addRulesFromSheet()
3195 styleSelector->fontSelector()->addFontFaceRule(fontFaceRule); in addRulesFromSheet()
3196 } else if (childItem->isKeyframesRule() && styleSelector) { in addRulesFromSheet()
3198styleSelector->addKeyframeStyle(static_cast<WebKitCSSKeyframesRule*>(childItem)); in addRulesFromSheet()
3202 } else if (item->isFontFaceRule() && styleSelector) { in addRulesFromSheet()
[all …]
/external/webkit/Source/WebCore/history/
DCachedPage.cpp88 if (CSSStyleSelector* styleSelector = frame->document()->styleSelector()) in restore() local
89 styleSelector->allVisitedStateChanged(); in restore()
/external/webkit/Source/WebCore/rendering/svg/
DRenderSVGInlineText.cpp238 CSSStyleSelector* styleSelector = document->styleSelector(); in computeNewScaledFontForStyle() local
239 ASSERT(styleSelector); in computeNewScaledFontForStyle()
255 scaledFont.update(styleSelector->fontSelector()); in computeNewScaledFontForStyle()
/external/webkit/Source/WebCore/dom/
DCanvasSurface.cpp191 CSSStyleSelector* CanvasSurface::styleSelector() in styleSelector() function in WebCore::CanvasSurface
193 return static_cast<HTMLCanvasElement*>(this)->document()->styleSelector(); in styleSelector()
DElement.cpp85 m_pushedStyleSelector = m_parent->document()->styleSelector(); in push()
96 ASSERT(m_pushedStyleSelector == m_parent->document()->styleSelector()); in ~StyleSelectorParentPusher()
97 if (m_pushedStyleSelector != m_parent->document()->styleSelector()) in ~StyleSelectorParentPusher()
770 …if (document()->attached() && document()->styleSelector()->hasSelectorForAttribute(attr->name().lo… in recalcStyleIfNeededAfterAttributeChanged()
1084 RefPtr<RenderStyle> newStyle = document()->styleSelector()->styleForElement(this); in recalcStyle()
1321 CSSStyleSelector* styleSelector = document()->styleSelectorIfExists(); in beginParsingChildren() local
1322 if (styleSelector && attached()) in beginParsingChildren()
1323 styleSelector->pushParent(this); in beginParsingChildren()
1331 if (CSSStyleSelector* styleSelector = document()->styleSelectorIfExists()) in finishParsingChildren() local
1332 styleSelector->popParent(this); in finishParsingChildren()
DDocument.h436 CSSStyleSelector* styleSelector() in styleSelector() function
/external/webkit/Source/WebCore/page/
DPage.cpp726 if (CSSStyleSelector* styleSelector = frame->document()->styleSelector()) in allVisitedStateChanged() local
727 styleSelector->allVisitedStateChanged(); in allVisitedStateChanged()
744 if (CSSStyleSelector* styleSelector = frame->document()->styleSelector()) in visitedStateChanged() local
745 styleSelector->visitedStateChanged(visitedLinkHash); in visitedStateChanged()
/external/webkit/Source/WebCore/rendering/
DRenderDataGrid.cpp78 …column->setColumnStyle(document()->styleSelector()->pseudoStyleForDataGridColumn(column, style())); in recalcStyleForColumn()
80 …column->setHeaderStyle(document()->styleSelector()->pseudoStyleForDataGridColumnHeader(column, sty… in recalcStyleForColumn()
DRenderListBox.cpp116 itemFont.update(document()->styleSelector()->fontSelector()); in updateFromElement()
401 itemFont.update(document()->styleSelector()->fontSelector()); in paintItemForeground()
DRenderMenuList.cpp568 return document()->styleSelector()->fontSelector(); in fontSelector()
DRenderTextControlSingleLine.cpp1026 return document()->styleSelector()->fontSelector(); in fontSelector()
/external/webkit/Source/WebKit/chromium/src/
DAutoFillPopupMenuClient.cpp248 return m_textField->document()->styleSelector()->fontSelector(); in fontSelector()
291 regularFont.update(textField->document()->styleSelector()->fontSelector()); in initialize()
/external/webkit/Source/WebCore/html/
DHTMLCanvasElement.h121 CSSStyleSelector* styleSelector();
DHTMLCanvasElement.cpp431 CSSStyleSelector* HTMLCanvasElement::styleSelector() in styleSelector() function in WebCore::HTMLCanvasElement
433 return document()->styleSelector(); in styleSelector()
DHTMLBodyElement.cpp131 …Color col = document()->styleSelector()->getColorFromPrimitiveValue(static_cast<CSSPrimitiveValue*… in parseMappedAttribute()
/external/webkit/Source/WebCore/inspector/
DInspectorCSSAgent.cpp200 CSSStyleSelector* selector = element->ownerDocument()->styleSelector(); in getStylesForNode()
228 CSSStyleSelector* parentSelector = parentElement->ownerDocument()->styleSelector(); in getStylesForNode()
/external/webkit/Source/WebCore/html/canvas/
DCanvasRenderingContext2D.cpp1760 CSSStyleSelector* styleSelector = canvas()->styleSelector(); in setFont() local
1761styleSelector->applyPropertyToStyle(CSSPropertyFont, tempDecl->getPropertyCSSValue(CSSPropertyFont… in setFont()
1764 state().m_font.update(styleSelector->fontSelector()); in setFont()
1766 styleSelector->fontSelector()->registerForInvalidationCallbacks(&state()); in setFont()
/external/webkit/Source/WebCore/page/animation/
DKeyframeAnimation.cpp55 …m_object->document()->styleSelector()->keyframeStylesForAnimation(static_cast<Element*>(m_object->… in KeyframeAnimation()
/external/webkit/Source/WebCore/svg/
DSVGStyledElement.cpp383 return document()->styleSelector()->styleForElement(this, parentStyle); in resolveStyle()
/external/webkit/Source/WebKit/qt/Api/
Dqwebelement.cpp869 …if (RefPtr<CSSRuleList> rules = doc->styleSelector()->styleRulesForElement(m_element, /*authorOnly… in styleProperty()
/external/webkit/Source/WebCore/editing/
Dmarkup.cpp242 …RefPtr<CSSRuleList> matchedRules = element->document()->styleSelector()->styleRulesForElement(elem… in styleFromMatchedRulesForElement()

12