Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ getRootNode
Function
getRootNode
test/unit/test-url-replacements.js:134–136 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
132
documentElement: {
133
nodeType: /* element */ 1,
134
getRootNode() {
135
return
win.document;
136
},
137
hasAttribute: () => {},
138
},
139
},
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected