3 Test for <i><a href="rdar://problem/7215132">rdar://problem/7215132</a>,
4 <a href="https://bugs.webkit.org/show_bug.cgi?id=29167">bug 29167</a>,
5 REGRESSION (r48064): mint.com loses scrollbars after coming out of edit mode</i>,
6 and <i><a href="rdar://problem/7314421">rdar://problem/7314421</a>,
7 <a href="https://bugs.webkit.org/show_bug.cgi?id=30517">bug 30517</a>,
8 REGRESSION (r48064): Extra scroll bars in GarageBand Lesson Store</i>.
11 This tests that after setting 'overflow' on the document element to
12 'hidden' and back to 'visible', scrollbars appear as necessary.
14 <p id="result">FAIL: Test did not run to completion</p>
16 if (window.layoutTestController)
17 layoutTestController.dumpAsText();
19 document.documentElement.style.overflow = "hidden";
20 document.body.offsetTop;
21 document.documentElement.style.removeProperty("overflow");
22 document.body.style.height = "200%";
23 var result = (innerWidth === document.documentElement.offsetWidth)
24 ? "FAIL: Scrollbar did not appear after resetting 'overflow'"
27 document.getElementById("result").innerText = result;