scrollbar-content-crash.html 521 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!doctype html>
<html class="crash">
<style>
.crash {
    overflow:scroll;
    content: url(data:text/plain,aaa);
}
</style>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function runTest() {
    document.documentElement.classList.remove("crash");
}
window.addEventListener("load", runTest, false);
</script>
<p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=96863">96863</a>: REGRESSION(r124168): Null crash in RenderLayer::createScrollbar</p>
<p>This test PASSED if it didn't CRASH or ASSERT.</p>