2 <!-- It is a minimized testcase for a Clusterfuzz test. See crbug.com/345373 -->
7 .class0 { content: url(); }
17 if (window
.testRunner
)
18 testRunner
.dumpAsText();
20 var domNodeRemovedFireCount
= 0;
21 document
.addEventListener("DOMNodeRemoved", function () {
22 if (domNodeRemovedFireCount
>= 1)
24 domNodeRemovedFireCount
++;
25 var element
= event
.srcElement
;
26 document
.execCommand('InsertOrderedList', false, false);
28 var parentElement
= document
.getElementById('r1');
29 var childElement
= parentElement
.childNodes
[0];
30 parentElement
.insertBefore(element
, childElement
);
32 document
.execCommand('Undo', false, false);
33 document
.execCommand('Redo', false, false);
34 document
.execCommand('Outdent', false, false);
37 document
.designMode
= 'on';
38 var selection
= window
.getSelection();
39 document
.execCommand('SelectAll', false);
40 var range
= selection
.getRangeAt(0);
41 var insertedElement
= document
.getElementById('r0');
42 range
.insertNode(insertedElement
);
43 document
.write('This test passes if the page does not crash.');