static/ext/src/dom/AbstractElement_static.js
function(prop) {
            // TODO: Mobile optimization?
            if (prop == 'float') {
                prop = Ext.supports.Float ? 'cssFloat' : 'styleFloat';
            }
            // For '-ms-foo' we need msFoo
            return this.propertyCache[prop] || (this.propertyCache[prop] = prop.replace(this.msRe, 'ms-').replace(this.camelRe, this.camelReplaceFn));
        }
function(prop) {
            // TODO: Mobile optimization?
            if (prop == 'float') {
                prop = Ext.supports.Float ? 'cssFloat' : 'styleFloat';
            }
            // For '-ms-foo' we need msFoo
            return this.propertyCache[prop] || (this.propertyCache[prop] = prop.replace(this.msRe, 'ms-').replace(this.camelRe, this.camelReplaceFn));
        }
function ( prop ) { // TODO: Mobile optimization? if ( prop == 'float' ) { prop = Ext . supports . Float ? 'cssFloat' : 'styleFloat' ; } // For '-ms-foo' we need msFoo return this . propertyCache [ prop ] || ( this . propertyCache [ prop ] = prop . replace ( this . msRe , 'ms-' ) . replace ( this . camelRe , this . camelReplaceFn ) ) ; }
Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax.
For example:

- border-width -> borderWidth
- padding-top -> paddingTop

@static
@param {String} prop The property to normalize
@return {String} The normalized string
Normalizes CSS property keys from dash delimited to camel case JavaScript Syntax . For example :