Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / incomplete-table-in-fragment-2.html
blob9563ab060bbcd7e704877c22e45fd9d31cd3961d
1 <body>
2 <script>
3 if (window.testRunner)
4 testRunner.dumpAsText();
5 </script>
6 <table id=inner></table>
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>text";
23 log(inner.innerHTML);
24 inner.innerHTML = "<thead>text";
25 log(inner.innerHTML);
26 inner.innerHTML = "<tfoot>text";
27 log(inner.innerHTML);
28 inner.innerHTML = "<tr>text";
29 log(inner.innerHTML);
30 inner.innerHTML = "<td>text";
31 log(inner.innerHTML);
32 inner.innerHTML = "<th>text";
33 log(inner.innerHTML);
34 inner.innerHTML = "<tbody>text";
35 log(inner.innerHTML);
36 inner.innerHTML = "<tbody><tr>text";
37 log(inner.innerHTML);
38 inner.innerHTML = "<tbody><td>text";
39 log(inner.innerHTML);
40 inner.innerHTML = "<tbody><th>text";
41 log(inner.innerHTML);
42 inner.innerHTML = "<tr><tbody>text";
43 log(inner.innerHTML);
44 inner.innerHTML = "<th><tbody>text";
45 log(inner.innerHTML);
46 inner.innerHTML = "<td><tbody>text";
47 log(inner.innerHTML);
49 inner.innerHTML = "<tbody><div>";
50 log(inner.innerHTML);
51 inner.innerHTML = "<thead><div>";
52 log(inner.innerHTML);
53 inner.innerHTML = "<tfoot><div>";
54 log(inner.innerHTML);
55 inner.innerHTML = "<tr><div>";
56 log(inner.innerHTML);
57 inner.innerHTML = "<td><div>";
58 log(inner.innerHTML);
59 inner.innerHTML = "<th><div>";
60 log(inner.innerHTML);
61 inner.innerHTML = "<tbody><div>";
62 log(inner.innerHTML);
63 inner.innerHTML = "<tbody><tr><div>";
64 log(inner.innerHTML);
65 inner.innerHTML = "<tbody><td><div>";
66 log(inner.innerHTML);
67 inner.innerHTML = "<tbody><th><div>";
68 log(inner.innerHTML);
69 inner.innerHTML = "<tr><tbody><div>";
70 log(inner.innerHTML);
71 inner.innerHTML = "<th><tbody><div>";
72 log(inner.innerHTML);
73 inner.innerHTML = "<td><tbody><div>";
74 log(inner.innerHTML);
75 </script>