4 Test InspectorUtils.GetOverflowingChildrenOfElement applied to the body element
8 <title>Test InspectorUtils.GetOverflowingChildrenOfElement on the body element
</title>
9 <script src=
"chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
25 SimpleTest
.waitForExplicitFinish();
26 const InspectorUtils
= SpecialPowers
.InspectorUtils
;
29 const body
= document
.documentElement
;
30 const overflowing_children
= InspectorUtils
.getOverflowingChildrenOfElement(body
);
32 is(overflowing_children
.length
, 1, `body has the expected number of children.`);
36 window
.onload
= runTests
;
40 <div class=
"tallBox"><div>