Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / cloneNode-after-deleteRule-crash.html
blob4114213e5c7d49876ac290c500139fe0b21a79d4
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script src="../../resources/js-test.js"></script>
6 </head>
7 <body>
8 <script>
10 function runtest() {
11 q = document.getElementsByTagName('object')[0].contentDocument;
12 q.styleSheets[0].deleteRule(1);
13 q.getElementsByTagName('head')[0].cloneNode(true);
16 description("This test checks that mutating a stylesheet and then using cloneNode() in a subdocument doesn't cause a crash.");
18 </script>
19 <object data="resources/cloneNode-after-deleteRule-subdocument.html" onload="runtest()"/>
20 </body>
21 </html>