MCPcopy Index your code
hub / github.com/prototypejs/prototype / isDetached

Function isDetached

src/prototype/dom/layout.js:1675–1678  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

1673 }
1674
1675 function isDetached(element) {
1676 return element !== document.body &&
1677 !Element.descendantOf(element, document.body);
1678 }
1679
1680 // If the browser supports the nonstandard `getBoundingClientRect`
1681 // (currently only IE and Firefox), it becomes far easier to obtain

Callers 2

getOffsetParentFunction · 0.85
layout.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected