Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / ManualTests / svg-text-float-not-removed-crash.html
blobe03937fb07b6bd0da3ff5cda3e4ca4d9c9ac6632
1 <!DOCTYPE html>
2 <html>
3 <script>
4 setInterval(function(){
5 var elements = document.getElementsByTagName("*");
6 var didRemoveElement = false;
7 for (var i = 0; i < elements.length; i++) {
8 var element = elements.item(i);
9 if (!element.firstElementChild && element != document.documentElement) {
10 didRemoveElement = true;
11 try {
12 element.parentNode.removeChild(element)
13 } catch(e) { }
17 if (!didRemoveElement)
18 document.documentElement.innerHTML = "PASS. WebKit didn't crash.";
19 }, 100);
20 </script>
21 <style>
22 #test1:after {
23 float: left;
24 content: 'A';
26 </style>
27 <svg>
28 <text>
29 <a id="test1">
31 </a>
32 </text>
33 </svg>
34 </html>