← Back to release summary

Document.scrollingElement

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 44)
Intent stage
None

Summary

Simple API to indicate whether 'body' or 'documentElement' is used for scrolling. Used to ease transition to spec-compliant scrolling behavior.

Standards & signals

Docs: https://developer.mozilla.org/en-US/docs/Web/API/document/scrollingElement https://dev.opera.com/articles/fixing-the-scrolltop-bug/

View on chromestatus.com