5 <script src=
"../../resources/js-test.js"></script>
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.");
19 <object data=
"resources/cloneNode-after-deleteRule-subdocument.html" onload=
"runtest()"/>