Home | History | Annotate | Download | only in elements

Lines Matching defs:computedStyle

152     _getBox: function(computedStyle, componentName)
155 var left = this._getPropertyValueAsPx(computedStyle, componentName + "-left" + suffix);
156 var top = this._getPropertyValueAsPx(computedStyle, componentName + "-top" + suffix);
157 var right = this._getPropertyValueAsPx(computedStyle, componentName + "-right" + suffix);
158 var bottom = this._getPropertyValueAsPx(computedStyle, componentName + "-bottom" + suffix);
346 startEditing: function(targetElement, box, styleProperty, computedStyle)
351 var context = { box: box, styleProperty: styleProperty, computedStyle: computedStyle };
438 var computedStyle = context.computedStyle;
440 if (computedStyle.getPropertyValue("box-sizing") === "border-box" && (styleProperty === "width" || styleProperty === "height")) {
446 var borderBox = this._getBox(computedStyle, "border");
447 var paddingBox = this._getBox(computedStyle, "padding");