Home
last modified time | relevance | path

Searched refs:computedStyle (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/chrome/browser/resources/shared/js/cr/
Dui.js115 var computedStyle = win.getComputedStyle(el);
117 var rtl = computedStyle.direction == 'rtl';
127 var inner = parseInt(computedStyle.borderLeftWidth, 10) +
128 parseInt(computedStyle.paddingLeft, 10) +
129 parseInt(computedStyle.paddingRight, 10) +
130 parseInt(computedStyle.borderRightWidth, 10);
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/plugin_settings/domui/js/cr/
Dui.js115 var computedStyle = win.getComputedStyle(el);
117 var rtl = computedStyle.direction == 'rtl';
127 var inner = parseInt(computedStyle.borderLeftWidth, 10) +
128 parseInt(computedStyle.paddingLeft, 10) +
129 parseInt(computedStyle.paddingRight, 10) +
130 parseInt(computedStyle.borderRightWidth, 10);
/external/chromium_org/chrome/common/extensions/docs/examples/api/fontSettings/js/cr/
Dui.js116 var computedStyle = win.getComputedStyle(el);
118 var rtl = computedStyle.direction == 'rtl';
128 var inner = parseInt(computedStyle.borderLeftWidth, 10) +
129 parseInt(computedStyle.paddingLeft, 10) +
130 parseInt(computedStyle.paddingRight, 10) +
131 parseInt(computedStyle.borderRightWidth, 10);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DMetricsSidebarPane.js130 _getBox: function(computedStyle, componentName) argument
133 var left = this._getPropertyValueAsPx(computedStyle, componentName + "-left" + suffix);
134 var top = this._getPropertyValueAsPx(computedStyle, componentName + "-top" + suffix);
135 var right = this._getPropertyValueAsPx(computedStyle, componentName + "-right" + suffix);
136 var bottom = this._getPropertyValueAsPx(computedStyle, componentName + "-bottom" + suffix);
320 startEditing: function(targetElement, box, styleProperty, computedStyle) argument
325 var context = { box: box, styleProperty: styleProperty, computedStyle: computedStyle }; property
406 var computedStyle = context.computedStyle;
408 …if (computedStyle.getPropertyValue("box-sizing") === "border-box" && (styleProperty === "width" ||…
414 var borderBox = this._getBox(computedStyle, "border");
[all …]
DStylesSidebarPane.js295 function computedStyleCallback(computedStyle) argument
305 if (this.node === node && computedStyle)
306 this._innerRefreshUpdate(node, computedStyle, editedSection);
381 function computedCallback(computedStyle) argument
383 resultStyles.computedStyle = computedStyle;
451 _innerRefreshUpdate: function(node, computedStyle, editedSection) argument
454 var styleRules = this._refreshStyleRules(this.sections[pseudoId], computedStyle);
459 if (computedStyle)
477 if (styles.computedStyle)
507 _refreshStyleRules: function(sections, computedStyle) argument
[all …]
DElementsPanel.js95 this.sidebarPanes.computedStyle = new WebInspector.ComputedStyleSidebarPane();
96 …this.sidebarPanes.styles = new WebInspector.StylesSidebarPane(this.sidebarPanes.computedStyle, thi…
1037 var computedStylePane = this.sidebarPanes.computedStyle;
1233 computedPane.bodyElement.appendChild(this.sidebarPanes.computedStyle.titleElement);
1235 this.sidebarPanes.computedStyle.show(computedPane.bodyElement);
1236 this.sidebarPanes.computedStyle.setExpandCallback(expandComputed);
1258 showMetrics.call(this, computedPane, this.sidebarPanes.computedStyle.element);
1266 … this.sidebarPanes.metrics.show(computedPane.bodyElement, this.sidebarPanes.computedStyle.element);
/external/chromium_org/ui/webui/resources/js/cr/
Dui.js116 var computedStyle = win.getComputedStyle(el);
118 var rtl = computedStyle.direction == 'rtl';
128 var inner = parseInt(computedStyle.borderLeftWidth, 10) +
129 parseInt(computedStyle.paddingLeft, 10) +
130 parseInt(computedStyle.paddingRight, 10) +
131 parseInt(computedStyle.borderRightWidth, 10);
/external/chromium_org/third_party/WebKit/Source/core/dom/
DElementRareData.h112 RenderStyle* computedStyle() const { return m_computedStyle.get(); } in computedStyle() function
113 … void setComputedStyle(PassRefPtr<RenderStyle> computedStyle) { m_computedStyle = computedStyle; } in setComputedStyle() argument
DNamedFlow.cpp191 ASSERT(node->computedStyle()->flowThread() == m_parentFlowThread->flowThreadName()); in getContent()
DPosition.h148 PassRefPtr<CSSComputedStyleDeclaration> computedStyle() const;
DElement.h322 RenderStyle* computedStyle(PseudoId = NOPSEUDO);
637 …ualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return computedStyle(pseudoElementS…
/external/chromium_org/third_party/WebKit/Source/core/editing/
DEditingStyle.cpp464 if (node && node->computedStyle()) { in init()
465 RenderStyle* renderStyle = node->computedStyle(); in init()
493 …ceFontSizeByKeywordIfPossible(RenderStyle* renderStyle, CSSComputedStyleDeclaration* computedStyle) in replaceFontSizeByKeywordIfPossible() argument
497 …m_mutableStyle->setProperty(CSSPropertyFontSize, computedStyle->getFontSizeCSSValuePreferringKeywo… in replaceFontSizeByKeywordIfPossible()
1203 RefPtr<EditingStyle> computedStyle = EditingStyle::create(context, EditingPropertiesInEffect); in removeStyleFromRulesAndContext() local
1204 if (computedStyle->m_mutableStyle) { in removeStyleFromRulesAndContext()
1205 if (!computedStyle->m_mutableStyle->getPropertyCSSValue(CSSPropertyBackgroundColor)) in removeStyleFromRulesAndContext()
1206computedStyle->m_mutableStyle->setProperty(CSSPropertyBackgroundColor, CSSValueTransparent); in removeStyleFromRulesAndContext()
1208 removePropertiesInStyle(computedStyle->m_mutableStyle.get(), styleFromMatchedRules.get()); in removeStyleFromRulesAndContext()
1209 …m_mutableStyle = getPropertiesNotIn(m_mutableStyle.get(), computedStyle->m_mutableStyle->ensureCSS… in removeStyleFromRulesAndContext()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGElement.h204 RenderStyle* computedStyle(PseudoId = NOPSEUDO);
205 …ualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return computedStyle(pseudoElementS…
/external/chromium_org/third_party/WebKit/Source/web/
DAutofillPopupMenuClient.cpp282 RenderStyle* style = m_textField->computedStyle(); in initialize()
337 RenderStyle* style = m_textField->computedStyle(); in textFieldStyle()
DWebAXObject.cpp782 return node->computedStyle(); in hasComputedStyle()
798 RenderStyle* renderStyle = node->computedStyle(); in computedStyleDisplay()
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasRenderingContext2D.cpp2042 if (RenderStyle* computedStyle = canvas()->computedStyle()) in setFont() local
2043 newStyle->setFontDescription(computedStyle->fontDescription()); in setFont()
2186 RenderStyle* computedStyle = canvas()->computedStyle(); in drawTextInternal() local
2187 TextDirection direction = computedStyle ? computedStyle->direction() : LTR; in drawTextInternal()
2189 bool override = computedStyle ? isOverride(computedStyle->unicodeBidi()) : false; in drawTextInternal()
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/
Ddojo-1.6.1.js5906 dojo._getPadExtents = function(/*DomNode*/n, /*Object*/computedStyle){ argument
5920 s = computedStyle||gcs(n),
5931 dojo._getBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ argument
5945 s = computedStyle||gcs(n),
5956 dojo._getPadBorderExtents = function(/*DomNode*/n, /*Object*/computedStyle){ argument
5969 s = computedStyle||gcs(n),
5980 dojo._getMarginExtents = function(n, computedStyle){ argument
5993 s = computedStyle||gcs(n),
6030 dojo._getMarginBox = function(/*DomNode*/node, /*Object*/computedStyle){ argument
6034 var s = computedStyle || gcs(node), me = d._getMarginExtents(node, s);
[all …]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
Djquery-1.3.2.js808 var computedStyle = defaultView.getComputedStyle( elem, null );
810 if ( computedStyle )
811 ret = computedStyle.getPropertyValue( name );
4189 doc = elem.ownerDocument, computedStyle, docElem = doc.documentElement, variable
4195 computedStyle = defaultView.getComputedStyle(elem, null);
4200 top += parseInt( computedStyle.borderTopWidth, 10) || 0,
4201 left += parseInt( computedStyle.borderLeftWidth, 10) || 0;
4204 if ( jQuery.offset.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== "visible" )
4205 top += parseInt( computedStyle.borderTopWidth, 10) || 0,
4206 left += parseInt( computedStyle.borderLeftWidth, 10) || 0;
[all …]
/external/chromium_org/third_party/isimpledom/
DISimpleDOMNode.idl77 cpp_quote("// computedStyle( ")
184 [propget, id(DISPID_NODE_COMPSTYLE)] HRESULT computedStyle(
/external/chromium/chrome/browser/resources/options/
Doptions_page.js902 var computedStyle = window.getComputedStyle(container);
904 parseInt(computedStyle.WebkitPaddingStart, 10) + 100 + 'px';
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderImage.cpp430 RenderStyle* areaElementStyle = areaElement->computedStyle(); in paintAreaElementFocusRing()
452 RenderStyle* areaElementStyle = areaElement->computedStyle(); in areaElementFocusChanged()
DRenderTextControlSingleLine.cpp339 result += spinButton->computedStyle()->logicalWidth().value(); in preferredContentLogicalWidth()
/external/chromium_org/third_party/WebKit/Source/core/css/
DSVGCSSComputedStyleDeclaration.cpp101 RenderStyle* style = node->computedStyle(); in getSVGPropertyCSSValue()
/external/chromium_org/third_party/WebKit/Source/core/frame/
DSmartClip.cpp264 RenderStyle* style = currentNode->computedStyle(); in extractTextFromNode()
/external/chromium_org/tools/deep_memory_profiler/tests/output/
Dbuckets2 …ment::styleForElementIgnoringPendingStylesheets(@?) WebCore::Element::computedStyle(@?) WebCore::H…

12