Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / Range / range-extract-contents-event-fire-crash2.html
blobd3e980454358ef4739c0b84d2f561644aebab847
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <p>
5 <span>
6 <span id="start"></span>
7 </span>
8 <span>
9 <span id="end"></span>
10 </span>
11 </p>
12 <script>
13 if (window.testRunner)
14 testRunner.dumpAsText();
16 function runTest()
18 document.removeEventListener("DOMSubtreeModified", runTest, false);
19 document.body.innerHTML = 'PASS: does not crash';
22 document.addEventListener("DOMSubtreeModified", runTest, false);
24 var r = document.createRange();
25 r.setStartBefore(document.getElementById('start'));
26 r.setEndAfter(document.getElementById('end'));
27 r.extractContents();
28 </script>
29 </body>
30 </html>