getRootNode
The getRootNode()
method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.
The getRootNode()
method of the Node interface returns the context object's root, which optionally includes the shadow root if it is available.