scrollingElement

The iframe below is in no-quirks mode. Per the CSSOM View Module, one has to use the root element (i.e. document.documentElement) in order to scroll its view. However, the behaviors of browsers have historically been inconsistent. When available, the new document.scrollingElement property gives you the DOM element to use in your browser without having to go with browser sniffing or similar.