Searched refs:styleElement (Results 1 – 7 of 7) sorted by relevance
327 var styleElement = WebInspector.View._cssFileToStyleElement[cssFile];328 if (styleElement) {329 styleElement.disabled = false;334 styleElement = document.createElement("link");335 styleElement.rel = "stylesheet";336 styleElement.type = "text/css";337 styleElement.href = cssFile;343 styleElement = document.createElement("style");344 styleElement.type = "text/css";345 styleElement.textContent = xhr.responseText + this._buildSourceURL(cssFile);[all …]
48 var styleElement = this.element.createChild("style");49 styleElement.type = "text/css";50 styleElement.textContent = xhr.responseText;
56 HTMLStyleElement* styleElement = toHTMLStyleElement(ownerNode); in scopingNodeFor() local57 if (!styleElement->scoped()) { in scopingNodeFor()58 if (styleElement->isInShadowTree()) in scopingNodeFor()59 return styleElement->containingShadowRoot(); in scopingNodeFor()63 ContainerNode* parent = styleElement->parentNode(); in scopingNodeFor()
355 var styleElement = document.createElement('style');356 styleElement.type = 'text/css';359 styleElement.textContent = '.dot { max-width: ' + pxWidth + 'px; }';360 document.querySelector('head').appendChild(styleElement);
245 HTMLStyleElement* styleElement = toHTMLStyleElement(element); in serializeFrame() local246 if (CSSStyleSheet* sheet = styleElement->sheet()) in serializeFrame()
116 RefPtr<HTMLElement> styleElement = createHTMLElement(document, spanTag); in createStyleSpanElement() local117 return styleElement.release(); in createStyleSpanElement()1477 RefPtr<Element> styleElement = createStyleSpanElement(document()); in applyInlineStyleChange() local1478 styleElement->setAttribute(styleAttr, AtomicString(styleChange.cssStyle())); in applyInlineStyleChange()1479 surroundNodeRangeWithElement(startNode, endNode, styleElement.release()); in applyInlineStyleChange()
1503 RefPtr<Element> styleElement = document->createElement("style", exceptionState); in viaInspectorStyleSheet() local1505 styleElement->setAttribute("type", "text/css", exceptionState); in viaInspectorStyleSheet()1518 targetNode->appendChild(styleElement, exceptionState); in viaInspectorStyleSheet()