← Back to release summary

Node.getRootNode(options)

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

Summary

The getRootNode(options) attribute’s getter must return context object’s shadow-including root if options’s composed is true, and context object’s root otherwise. The former name was Node.rootNode. See https://github.com/whatwg/dom/issues/241 the context of renaming

Standards & signals

View on chromestatus.com