Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/ cloneNode
Function
cloneNode
test/unit/test-fixed-layer.js:357–359 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
355
children.push(newChild);
356
},
357
cloneNode() {
358
return
createElement(this.id);
359
},
360
get offsetTop() {
361
return
parseFloat(elem.computedStyle.top);
362
},
Callers
nothing calls this directly
Calls
1
createElement
Function · 0.70
Tested by
no test coverage detected