Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / incomplete-table-in-fragment-hang.html
blob868a427030a3a342dc9e36425559c2368cbc8208
1 <body>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <div id=inner></div>
7 Test error handling for incomplete tables inside a document fragment. These should not crash or hang.
8 <br><br>
9 <div id=console></div>
10 <script>
12 var inner = document.getElementById('inner');
13 var console = document.getElementById('console');
15 function log(t)
17 var line = document.createElement('div');
18 line.appendChild(document.createTextNode(t));
19 console.appendChild(line);
22 inner.innerHTML = "<tbody><table>";
23 log(inner.innerHTML);
24 inner.innerHTML = "<thead><table>";
25 log(inner.innerHTML);
26 inner.innerHTML = "<tfoot><table>";
27 log(inner.innerHTML);
28 inner.innerHTML = "<tr><table>";
29 log(inner.innerHTML);
30 inner.innerHTML = "<td><table>";
31 log(inner.innerHTML);
32 inner.innerHTML = "<th><table>";
33 log(inner.innerHTML);
34 inner.innerHTML = "<tbody><tr><table>";
35 log(inner.innerHTML);
36 inner.innerHTML = "<tbody><th><table>";
37 log(inner.innerHTML);
38 inner.innerHTML = "<tbody><td><table>";
39 log(inner.innerHTML);
40 inner.innerHTML = "<tr><tbody><table>";
41 log(inner.innerHTML);
42 inner.innerHTML = "<th><tbody><table>";
43 log(inner.innerHTML);
44 inner.innerHTML = "<td><tbody><table>";
45 log(inner.innerHTML);
46 inner.innerHTML = "<tbody><option><table>";
47 log(inner.innerHTML);
48 inner.innerHTML = "<table><option><table>";
49 log(inner.innerHTML);
50 </script>