blob: 5be2e39c1e707dfb6c14d2058efdb5ce0e802126 [file] [log] [blame]
Test for <i><a href="rdar://problem/7215132">rdar://problem/7215132</a>,
<a href="">bug 29167</a>,
REGRESSION (r48064): loses scrollbars after coming out of edit mode</i>,
and <i><a href="rdar://problem/7314421">rdar://problem/7314421</a>,
<a href="">bug 30517</a>,
REGRESSION (r48064): Extra scroll bars in GarageBand Lesson Store</i>.
This tests that after setting 'overflow' on the document element to
'hidden' and back to 'visible', scrollbars appear as necessary.
<p id="result">FAIL: Test did not run to completion</p>
if (window.testRunner)
testRunner.dumpAsText(); = "hidden";
document.body.offsetTop;"overflow"); = "200%";
var result = (innerWidth === document.documentElement.offsetWidth)
? "FAIL: Scrollbar did not appear after resetting 'overflow'"
: "PASS"
document.getElementById("result").innerText = result;