Searched refs:styleElement (Results 1 – 8 of 8) sorted by relevance
/external/chromium_org/third_party/polymer/components-chromium/core-style/ |
D | core-style-extracted.js | 161 if (this.styleElement._cssText === cssText) { 164 this.styleElement._cssText = cssText; 166 this.styleElement.textContent = cssText; 167 cssText = Platform.ShadowCSS.shimStyle(this.styleElement, 170 this.styleElement.textContent = cssText; 199 if (!this.styleElement) { 200 this.styleElement = window.ShadowDOMPolyfill ? 204 if (!this.styleElement) {
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/ |
D | View.js | 59 var styleElement = document.createElement("style"); 60 styleElement.type = "text/css"; 61 styleElement.textContent = loadResource(cssFile) + WebInspector.View._buildSourceURL(cssFile); 62 document.head.insertBefore(styleElement, document.head.firstChild); 63 return styleElement; 369 var styleElement = WebInspector.View._cssFileToStyleElement[cssFile]; 370 if (styleElement) { 371 styleElement.disabled = false; 374 styleElement = WebInspector.View.createStyleElement(cssFile); 375 WebInspector.View._cssFileToStyleElement[cssFile] = styleElement;
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | ScopedStyleResolver.cpp | 56 HTMLStyleElement& styleElement = toHTMLStyleElement(*ownerNode); in treeScopeFor() local 57 if (styleElement.isInShadowTree()) in treeScopeFor() 58 return styleElement.containingShadowRoot(); in treeScopeFor()
|
/external/chromium_org/chrome/browser/resources/ntp4/ |
D | new_tab.js | 364 var styleElement = document.createElement('style'); 365 styleElement.type = 'text/css'; 368 styleElement.textContent = '.dot { max-width: ' + pxWidth + 'px; }'; 369 document.querySelector('head').appendChild(styleElement);
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | PageSerializer.cpp | 248 HTMLStyleElement& styleElement = toHTMLStyleElement(element); in serializeFrame() local 249 if (CSSStyleSheet* sheet = styleElement.sheet()) in serializeFrame()
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebLocalFrameImpl.cpp | 1836 …RefPtrWillBeRawPtr<Element> styleElement = frame()->document()->createElement(HTMLNames::linkTag, … in addStyleSheetByURL() local 1838 styleElement->setAttribute(HTMLNames::typeAttr, "text/css"); in addStyleSheetByURL() 1839 styleElement->setAttribute(HTMLNames::relAttr, "stylesheet"); in addStyleSheetByURL() 1840 styleElement->setAttribute(HTMLNames::hrefAttr, url); in addStyleSheetByURL() 1842 frame()->document()->head()->appendChild(styleElement.release(), IGNORE_EXCEPTION); in addStyleSheetByURL()
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | InspectorCSSAgent.cpp | 1245 RefPtrWillBeRawPtr<Element> styleElement = document->createElement("style", exceptionState); in viaInspectorStyleSheet() local 1247 styleElement->setAttribute("type", "text/css", exceptionState); in viaInspectorStyleSheet() 1260 targetNode->appendChild(styleElement, exceptionState); in viaInspectorStyleSheet()
|
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
D | ApplyStyleCommand.cpp | 1493 RefPtrWillBeRawPtr<HTMLSpanElement> styleElement = createStyleSpanElement(document()); in applyInlineStyleChange() local 1494 styleElement->setAttribute(styleAttr, AtomicString(styleChange.cssStyle())); in applyInlineStyleChange() 1495 surroundNodeRangeWithElement(startNode, endNode, styleElement.release()); in applyInlineStyleChange()
|