src/console/simpleyui.js
function(node, att) {
        var val = '',
            doc = node[OWNER_DOCUMENT];

        if (node[STYLE]) {
            val = doc[DEFAULT_VIEW][GET_COMPUTED_STYLE](node, null)[att];
        }
        return val;
    }
function(node, att) {
        var val = '',
            doc = node[OWNER_DOCUMENT];

        if (node[STYLE]) {
            val = doc[DEFAULT_VIEW][GET_COMPUTED_STYLE](node, null)[att];
        }
        return val;
    }
function ( node , att ) { var val = '' , doc = node [ OWNER_DOCUMENT ] ; if ( node [ STYLE ] ) { val = doc [ DEFAULT_VIEW ] [ GET_COMPUTED_STYLE ] ( node , null ) [ att ] ; } return val ; }
Returns the computed style for the given node.
@method getComputedStyle
@param {HTMLElement} An HTMLElement to get the style from.
@param {String} att The style property to get.
@return {String} The computed value of the style property.
Returns the computed style for the given node .