Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / remove-style-after-insert-import-rule-crash.html
blob92cb84c5a42d2b934139a0a032145b7e942068e4
1 <!DOCTYPE html>
2 <html>
3 <style id='target'>
4 </style>
5 <script src="../../resources/js-test.js"></script>
6 <script>
7 function runTest() {
8 var target = document.querySelector('#target');
9 document.styleSheets[0].insertRule('@import url("resources/red.css");', 0);
10 target.parentNode.removeChild(target);
12 </script>
13 </head>
14 <body onload="runTest()";>
15 <pre id="console"></pre>
16 </body>
17 <script>
18 description("crbug.com/344310: crash in WebCore::CSSStyleSheet::sheetLoaded.");
19 </script>
20 </html>