src/js/jquery.uniform.js
function sizingInvisible($el, callback) {
        var targets;

        // We wish to target ourselves and any parents as long as
        // they are not visible
        targets = $el.parents();
        targets.push($el[0]);
        targets = targets.not(':visible');
        swap(targets, {
            visibility: "hidden",
            display: "block",
            position: "absolute"
        }, callback);
    }
function sizingInvisible($el, callback) {
        var targets;

        // We wish to target ourselves and any parents as long as
        // they are not visible
        targets = $el.parents();
        targets.push($el[0]);
        targets = targets.not(':visible');
        swap(targets, {
            visibility: "hidden",
            display: "block",
            position: "absolute"
        }, callback);
    }
function sizingInvisible ( $el , callback ) { var targets ; // We wish to target ourselves and any parents as long as // they are not visible targets = $el . parents ( ) ; targets . push ( $el [ 0 ] ) ; targets = targets . not ( ':visible' ) ; swap ( targets , { visibility : "hidden" , display : "block" , position : "absolute" } , callback ) ; }
The browser doesn't provide sizes of elements that are not visible.
This will clone an element and add it to the DOM for calculations.

@param {jQuery} $el
@param {Function} callback
The browser doesn t provide sizes of elements that are not visible . This will clone an element and add it to the DOM for calculations .