public/javascripts/yui/dom/dom-debug.js
function() {
            var t = Y.Dom.getDocumentScrollTop(),
                l = Y.Dom.getDocumentScrollLeft(),
                r = Y.Dom.getViewportWidth() + l,
                b = Y.Dom.getViewportHeight() + t;

            return new Y.Region(t, r, b, l);
        }
function() {
            var t = Y.Dom.getDocumentScrollTop(),
                l = Y.Dom.getDocumentScrollLeft(),
                r = Y.Dom.getViewportWidth() + l,
                b = Y.Dom.getViewportHeight() + t;

            return new Y.Region(t, r, b, l);
        }
function ( ) { var t = Y . Dom . getDocumentScrollTop ( ) , l = Y . Dom . getDocumentScrollLeft ( ) , r = Y . Dom . getViewportWidth ( ) + l , b = Y . Dom . getViewportHeight ( ) + t ; return new Y . Region ( t , r , b , l ) ; }
Creates a Region based on the viewport relative to the document.
@method getClientRegion
@return {Region} A Region object representing the viewport which accounts for document scroll
Creates a Region based on the viewport relative to the document .