docs: function (document) {
              if (document == null) {
                  document = Aria.$window.document;
              }
              var result = document.scrollingElement;
              if (!result) {
                  result = ((!(ariaCoreBrowser.isSafari || ariaCoreBrowser.isChrome || ariaCoreBrowser.isEdge || ariaCoreBrowser.isOpera) && (document.compatMode == "CSS1Compat"))
                          ? document.documentElement
                          : document.body);
              }
              return result;
          }