tasks/init/enyo/root/enyo/source/dom/Control.js
function(inBounds, inUnit) {
		var s = this.domStyles, unit = inUnit || "px";
		var extents = ["width", "height", "left", "top", "right", "bottom"];
		for (var i=0, b, e; e=extents[i]; i++) {
			b = inBounds[e];
			if (b || b === 0) {
				s[e] = b + (!enyo.isString(b) ? unit : '');
			}
		}
		this.domStylesChanged();
	}
function(inBounds, inUnit) {
		var s = this.domStyles, unit = inUnit || "px";
		var extents = ["width", "height", "left", "top", "right", "bottom"];
		for (var i=0, b, e; e=extents[i]; i++) {
			b = inBounds[e];
			if (b || b === 0) {
				s[e] = b + (!enyo.isString(b) ? unit : '');
			}
		}
		this.domStylesChanged();
	}
function ( inBounds , inUnit ) { var s = this . domStyles , unit = inUnit || "px" ; var extents = [ "width" , "height" , "left" , "top" , "right" , "bottom" ] ; for ( var i = 0 , b , e ; e = extents [ i ] ; i ++ ) { b = inBounds [ e ] ; if ( b || b === 0 ) { s [ e ] = b + ( ! enyo . isString ( b ) ? unit : '' ) ; } } this . domStylesChanged ( ) ; }
Sets any or all of geometry style properties _width_, _height_, _left_, _top_, _right_ and _bottom_.

Values may be specified as strings (with units specified), or as numbers when a unit is provided in _inUnit_.

this.setBounds({width: 100, height: 100}, "px"); // adds style properties like "width: 100px; height: 100px;"

this.setBounds({width: "10em", right: "30pt"}); // adds style properties like "width: 10em; right: 30pt;"
Sets any or all of geometry style properties _width_ _height_ _left_ _top_ _right_ and _bottom_ .