src/aria/utils/Dom.js
function () {
            // https://developer.mozilla.org/en/DOM/window.scrollMaxY suggests not to use scrollMaxY
            // Take the maximum between the document and the viewport srollWidth/Height
            // PTR 04677501 AT-Release1.0-36 release bug fixing: Safari has the correct scrollWidth and scrollHeight in
            // document.body
            var doc = this.getDocumentScrollElement();

            var docSize = {
                width : doc.scrollWidth,
                height : doc.scrollHeight
            };

            var vieportSize = this._getViewportSize();

            return {
                width : Math.max(docSize.width, vieportSize.width),
                height : Math.max(docSize.height, vieportSize.height)
            };
        }
function () {
            // https://developer.mozilla.org/en/DOM/window.scrollMaxY suggests not to use scrollMaxY
            // Take the maximum between the document and the viewport srollWidth/Height
            // PTR 04677501 AT-Release1.0-36 release bug fixing: Safari has the correct scrollWidth and scrollHeight in
            // document.body
            var doc = this.getDocumentScrollElement();

            var docSize = {
                width : doc.scrollWidth,
                height : doc.scrollHeight
            };

            var vieportSize = this._getViewportSize();

            return {
                width : Math.max(docSize.width, vieportSize.width),
                height : Math.max(docSize.height, vieportSize.height)
            };
        }
function ( ) { // https://developer.mozilla.org/en/DOM/window.scrollMaxY suggests not to use scrollMaxY // Take the maximum between the document and the viewport srollWidth/Height // PTR 04677501 AT-Release1.0-36 release bug fixing: Safari has the correct scrollWidth and scrollHeight in // document.body var doc = this . getDocumentScrollElement ( ) ; var docSize = { width : doc . scrollWidth , height : doc . scrollHeight } ; var vieportSize = this . _getViewportSize ( ) ; return { width : Math . max ( docSize . width , vieportSize . width ) , height : Math . max ( docSize . height , vieportSize . height ) } ; }
Get the full size of the page. It is bigger than the viewport size if there are scrollbars, otherwise it's
the viewport size
@return {aria.utils.DomBeans:Size} Size object
Get the full size of the page . It is bigger than the viewport size if there are scrollbars otherwise it s the viewport size