lib/Ext/dom/Element.style.js
function(width, height) {
        if (Ext.isObject(width)) {
            // in case of object from getSize()
            height = width.height;
            width = width.width;
        }

        this.setWidth(width);
        this.setHeight(height);

        return this;
    }
function(width, height) {
        if (Ext.isObject(width)) {
            // in case of object from getSize()
            height = width.height;
            width = width.width;
        }

        this.setWidth(width);
        this.setHeight(height);

        return this;
    }
Set the size of this Element.

@param {Number/String} width The new width. This may be one of:

- A Number specifying the new width in this Element's {@link #defaultUnit}s (by default, pixels).
- A String used to set the CSS width style. Animation may **not** be used.
- A size object in the format `{width: widthValue, height: heightValue}`.

@param {Number/String} height The new height. This may be one of:

- A Number specifying the new height in this Element's {@link #defaultUnit}s (by default, pixels).
- A String used to set the CSS height style. Animation may **not** be used.
@return {Ext.dom.Element} this