src/aria/utils/css/Units.js
function (newUnit, valueInPixels, elem, property) {
                return this.__convertFromPixels[newUnit].call(this, valueInPixels, elem, property);
            }
function (newUnit, valueInPixels, elem, property) {
                return this.__convertFromPixels[newUnit].call(this, valueInPixels, elem, property);
            }
function ( newUnit , valueInPixels , elem , property ) { return this . __convertFromPixels [ newUnit ] . call ( this , valueInPixels , elem , property ) ; }
Converts the value of a given CSS property of a given HTML element from pixels into chosen CSS unit.
@param {String} newUnit e.g. "pt", "em"
@param {Number} valueInPixels
@param {HTMLElement} elem Needed if <code>newUnit</code> is in "em" or "%", can be null otherwise.
@param {String} property camelCased CSS property name
@return {Number} value in units provided via <code>newUnit</code>
Converts the value of a given CSS property of a given HTML element from pixels into chosen CSS unit .