function(prop) {
        var me = this,
            dom = me.dom,
            hook = me.styleHooks[prop],
            cs, result;

        if (dom == document) {
            return null;
        }
        if (!hook) {
            me.styleHooks[prop] = hook = { name: Ext.dom.Element.normalize(prop) };
        }
        if (hook.get) {
            return hook.get(dom, me);
        }

        cs = window.getComputedStyle(dom, '');

        // why the dom.style lookup? It is not true that "style == computedStyle" as
        // well as the fact that 0/false are valid answers...
        result = (cs && cs[hook.name]); // || dom.style[hook.name];

        // WebKit returns rgb values for transparent, how does this work n IE9+
        //        if (!supportsTransparentColor && result == 'rgba(0, 0, 0, 0)') {
        //            result = 'transparent';
        //        }

        return result;
    }
function(prop) {
        var me = this,
            dom = me.dom,
            hook = me.styleHooks[prop],
            cs, result;

        if (dom == document) {
            return null;
        }
        if (!hook) {
            me.styleHooks[prop] = hook = { name: Ext.dom.Element.normalize(prop) };
        }
        if (hook.get) {
            return hook.get(dom, me);
        }

        cs = window.getComputedStyle(dom, '');

        // why the dom.style lookup? It is not true that "style == computedStyle" as
        // well as the fact that 0/false are valid answers...
        result = (cs && cs[hook.name]); // || dom.style[hook.name];

        // WebKit returns rgb values for transparent, how does this work n IE9+
        //        if (!supportsTransparentColor && result == 'rgba(0, 0, 0, 0)') {
        //            result = 'transparent';
        //        }

        return result;
    }
function ( prop ) { var me = this , dom = me . dom , hook = me . styleHooks [ prop ] , cs , result ; if ( dom == document ) { return null ; } if ( ! hook ) { me . styleHooks [ prop ] = hook = { name : Ext . dom . Element . normalize ( prop ) } ; } if ( hook . get ) { return hook . get ( dom , me ) ; } cs = window . getComputedStyle ( dom , '' ) ; // why the dom.style lookup? It is not true that "style == computedStyle" as // well as the fact that 0/false are valid answers... result = ( cs && cs [ hook . name ] ) ; // || dom.style[hook.name]; // WebKit returns rgb values for transparent, how does this work n IE9+ //        if (!supportsTransparentColor && result == 'rgba(0, 0, 0, 0)') { //            result = 'transparent'; //        } return result ; }
Normalizes `currentStyle` and `computedStyle`.
@param {String} prop The style property whose value is returned.
@return {String} The current value of the style property for this element.
Normalizes currentStyle and computedStyle .