Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / scrollbars / hidden-iframe-scrollbar-crash.html
blobe010520a4e231bf8458195eccca371146e098e23
1 <style>
2 ::-webkit-scrollbar {
3 width: 16px;
5 </style>
7 <body>
8 <iframe id="iframe" width="1"></iframe>
9 <p>This tests to make sure that an iframe with custom scrollbars that is
10 hidden does not crash the browser when unloaded. The test passes if it does
11 not crash.</p>
12 </body>
14 <script>
15 function runTest()
17 if (document.location.search == "?done") {
18 document.body.appendChild(document.createTextNode("PASSED"));
19 if (window.testRunner)
20 testRunner.notifyDone();
21 return;
24 if (window.testRunner) {
25 testRunner.waitUntilDone();
26 testRunner.dumpAsText();
29 setTimeout(function() {
30 document.getElementById("iframe").style.display = "none";
32 // Unload the page to see if the crash is triggered.
33 document.location.href = "?done";
34 }, 0);
37 runTest();
38 </script>