Home
last modified time | relevance | path

Searched refs:styleSheet (Results 1 – 25 of 26) sorted by relevance

12

/external/webkit/Source/WebCore/inspector/
DInspectorCSSAgent.cpp138 StyleSheet* styleSheet = styleBase->stylesheet(); in parentStyleSheet() local
139 if (styleSheet && styleSheet->isCSSStyleSheet()) in parentStyleSheet()
140 return static_cast<CSSStyleSheet*>(styleSheet); in parentStyleSheet()
192 InspectorStyleSheetForInlineStyle* styleSheet = asInspectorStyleSheet(element); in getStylesForNode() local
193 if (styleSheet) in getStylesForNode()
194 resultObject->setObject("inlineStyle", styleSheet->buildObjectForStyle(element->style())); in getStylesForNode()
223 InspectorStyleSheetForInlineStyle* styleSheet = asInspectorStyleSheet(parentElement); in getStylesForNode() local
224 if (styleSheet) in getStylesForNode()
225 …rentStyle->setObject("inlineStyle", styleSheet->buildObjectForStyle(styleSheet->styleForId(Inspect… in getStylesForNode()
245 InspectorStyleSheetForInlineStyle* styleSheet = asInspectorStyleSheet(element); in getInlineStyleForNode() local
[all …]
DInspectorStyleSheet.cpp675 CSSStyleSheet* styleSheet = InspectorCSSAgent::parentStyleSheet(rule); in setRuleSelector() local
676 if (!styleSheet || !ensureParsedDataReady()) in setRuleSelector()
730 CSSStyleSheet* styleSheet = pageStyleSheet(); in buildObjectForStyleSheet() local
731 if (!styleSheet) in buildObjectForStyleSheet()
736 RefPtr<CSSRuleList> cssRuleList = CSSRuleList::create(styleSheet, true); in buildObjectForStyleSheet()
750 CSSStyleSheet* styleSheet = pageStyleSheet(); in buildObjectForStyleSheetInfo() local
751 if (!styleSheet) in buildObjectForStyleSheetInfo()
756 result->setBoolean("disabled", styleSheet->disabled()); in buildObjectForStyleSheetInfo()
758 result->setString("title", styleSheet->title()); in buildObjectForStyleSheetInfo()
764 CSSStyleSheet* styleSheet = pageStyleSheet(); in buildObjectForRule() local
[all …]
/external/webkit/Source/WebCore/bindings/js/
DJSStyleSheetCustom.cpp38 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, StyleSheet* styleSheet) in toJS() argument
40 if (!styleSheet) in toJS()
43 JSDOMWrapper* wrapper = getCachedWrapper(currentWorld(exec), styleSheet); in toJS()
47 if (styleSheet->isCSSStyleSheet()) in toJS()
48 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSStyleSheet, styleSheet); in toJS()
50 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, StyleSheet, styleSheet); in toJS()
DJSCSSImportRuleCustom.cpp39 if (CSSStyleSheet* sheet = static_cast<CSSImportRule*>(impl())->styleSheet()) in markChildren()
/external/webkit/Source/WebCore/html/
DHTMLStyleElement.cpp104 if (StyleSheet* styleSheet = const_cast<HTMLStyleElement*>(this)->sheet()) in addSubresourceAttributeURLs() local
105 styleSheet->addSubresourceStyleURLs(urls); in addSubresourceAttributeURLs()
110 StyleSheet* styleSheet = sheet(); in disabled() local
111 if (!styleSheet) in disabled()
114 return styleSheet->disabled(); in disabled()
119 if (StyleSheet* styleSheet = sheet()) in setDisabled() local
120 styleSheet->setDisabled(setDisabled); in setDisabled()
DHTMLLinkElement.cpp503 if (StyleSheet* styleSheet = const_cast<HTMLLinkElement*>(this)->sheet()) in addSubresourceAttributeURLs() local
504 styleSheet->addSubresourceStyleURLs(urls); in addSubresourceAttributeURLs()
/external/webkit/Source/WebCore/xml/
DXSLStyleSheetLibxslt.cpp122 if (import->styleSheet()) in clearDocuments()
123 import->styleSheet()->clearDocuments(); in clearDocuments()
263 … for (XSLStyleSheet* styleSheet = this; styleSheet; styleSheet = styleSheet->parentStyleSheet()) { in ownerDocument() local
264 Node* node = styleSheet->ownerNode(); in ownerDocument()
279 XSLStyleSheet* child = import->styleSheet(); in locateStylesheetSubResource()
301 … xmlDocPtr result = import->styleSheet()->locateStylesheetSubResource(parentDoc, uri); in locateStylesheetSubResource()
DXSLTProcessor.h49 void setXSLStyleSheet(PassRefPtr<XSLStyleSheet> styleSheet) { m_stylesheet = styleSheet; } in setXSLStyleSheet() argument
DXSLImportRule.h48 XSLStyleSheet* styleSheet() const { return m_styleSheet.get(); } in styleSheet() function
/external/webkit/Source/WebCore/bindings/objc/
DDOMObject.mm72 WebCore::StyleSheet* styleSheet;
75 styleSheet = core(static_cast<DOMProcessingInstruction *>(self))->sheet();
77 styleSheet = core(static_cast<DOMHTMLLinkElement *>(self))->sheet();
79 styleSheet = core(static_cast<DOMHTMLStyleElement *>(self))->sheet();
83 return kit(styleSheet);
DPublicDOMInterfaces.h930 @property(readonly, retain) DOMCSSStyleSheet *styleSheet;
/external/webkit/Source/WebCore/css/
DCSSReflectValue.cpp62 … CSSReflectValue::addSubresourceStyleURLs(ListHashSet<KURL>& urls, const CSSStyleSheet* styleSheet) in addSubresourceStyleURLs() argument
65 m_mask->addSubresourceStyleURLs(urls, styleSheet); in addSubresourceStyleURLs()
DCSSFontFaceSrcValue.cpp77 …FontFaceSrcValue::addSubresourceStyleURLs(ListHashSet<KURL>& urls, const CSSStyleSheet* styleSheet) in addSubresourceStyleURLs() argument
80 addSubresourceURL(urls, styleSheet->completeURL(m_resource)); in addSubresourceStyleURLs()
DCSSBorderImageValue.cpp65 …BorderImageValue::addSubresourceStyleURLs(ListHashSet<KURL>& urls, const CSSStyleSheet* styleSheet) in addSubresourceStyleURLs() argument
67 m_image->addSubresourceStyleURLs(urls, styleSheet); in addSubresourceStyleURLs()
DCSSStyleSheet.cpp283 CSSStyleSheet* styleSheet = styleSheetQueue.takeFirst(); in addSubresourceStyleURLs() local
285 for (unsigned i = 0; i < styleSheet->length(); ++i) { in addSubresourceStyleURLs()
286 StyleBase* styleBase = styleSheet->item(i); in addSubresourceStyleURLs()
292 if (CSSStyleSheet* ruleStyleSheet = static_cast<CSSImportRule*>(rule)->styleSheet()) in addSubresourceStyleURLs()
DCSSValueList.cpp123 void CSSValueList::addSubresourceStyleURLs(ListHashSet<KURL>& urls, const CSSStyleSheet* styleSheet) in addSubresourceStyleURLs() argument
127 m_values[i]->addSubresourceStyleURLs(urls, styleSheet); in addSubresourceStyleURLs()
DCSSImportRule.h48 CSSStyleSheet* styleSheet() const { return m_styleSheet.get(); } in styleSheet() function
DCSSImportRule.idl27 readonly attribute CSSStyleSheet styleSheet;
DCSSPrimitiveValue.cpp835 …SSPrimitiveValue::addSubresourceStyleURLs(ListHashSet<KURL>& urls, const CSSStyleSheet* styleSheet) in addSubresourceStyleURLs() argument
838 addSubresourceURL(urls, styleSheet->completeURL(m_value.string)); in addSubresourceStyleURLs()
DCSSParser.cpp613 void CSSParser::setStyleSheet(CSSStyleSheet* styleSheet) in setStyleSheet() argument
615 m_styleSheet = styleSheet; in setStyleSheet()
DCSSStyleSelector.cpp3179 addRulesFromSheet(import->styleSheet(), medium, styleSelector); in addRulesFromSheet()
/external/webkit/Source/WebCore/inspector/front-end/
DAuditRules.js288 var styleSheet = styleSheets[i];
289 for (var curRule = 0; curRule < styleSheet.rules.length; ++curRule) {
290 var selectorText = styleSheet.rules[curRule].selectorText;
306 var styleSheet = styleSheets[i];
310 for (var curRule = 0; curRule < styleSheet.rules.length; ++curRule) {
311 var rule = styleSheet.rules[curRule];
328 var resource = WebInspector.resourceForURL(styleSheet.sourceURL);
330 …url = !isInlineBlock ? WebInspector.AuditRuleResult.linkifyDisplayName(styleSheet.sourceURL) : Str…
368 function styleSheetCallback(styleSheets, sourceURL, continuation, styleSheet) argument
370 if (styleSheet) {
[all …]
/external/webkit/Source/WebCore/bindings/v8/
DV8GCController.cpp293 StyleSheet* styleSheet = 0; in calculateGroupId() local
308 styleSheet = static_cast<StyleSheet*>(current); in calculateGroupId()
316 if (styleSheet) { in calculateGroupId()
317 if (Node* ownerNode = styleSheet->ownerNode()) in calculateGroupId()
319 return GroupId(styleSheet); in calculateGroupId()
/external/webkit/Source/WebKit/qt/WebCoreSupport/
DFrameLoaderClientQt.cpp1540 QString styleSheet = element->getAttribute("style"); in createPlugin() local
1541 if (!styleSheet.isEmpty()) in createPlugin()
1542 styleSheet += QLatin1Char(';'); in createPlugin()
1547 styleSheet += QString::fromLatin1(getPropertyName(property)); in createPlugin()
1548 styleSheet += QLatin1Char(':'); in createPlugin()
1549 styleSheet += computedStyle(element)->getPropertyValue(property); in createPlugin()
1550 styleSheet += QLatin1Char(';'); in createPlugin()
1553 widget->setStyleSheet(styleSheet); in createPlugin()
/external/webkit/Source/WebCore/
DChangeLog-2005-12-19179 (DOM::XSLImportRuleImpl::styleSheet):
646 (DOM::CSSImportRuleImpl::styleSheet):

12