Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / crash-splitColumn-2.html
blob5ccecb5874f3769543dcd99c2eefede22eabdd3b
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .c7 { display: table-row-group; }
6 .c7:nth-last-of-type(-n+6) { float: none; }
7 .c21:nth-child(2n) { position: static; float: left; }
8 .c26 { border-style: ridge; content: counter(section);</style>
9 <script>
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 testRunner.waitUntilDone();
15 function crash()
17 var img = document.createElement('img');
18 img.appendChild(select);
19 if (window.testRunner)
20 testRunner.notifyDone();
23 function insertNodes() {
24 document.documentElement.appendChild(document.createElement('a'));
25 document.documentElement.appendChild(document.createElement('dfn'));
26 document.documentElement.appendChild(document.createElement('keygen'));
27 var iframe = document.createElement('iframe');
28 iframe.setAttribute('src', 'dne.html');
29 document.documentElement.appendChild(iframe);
30 document.documentElement.appendChild(document.createElement('rp'));
31 document.documentElement.appendChild(document.createElement('ul'));
32 document.documentElement.appendChild(document.createElement('option'));
33 document.documentElement.appendChild(document.createElement('label'));
34 document.documentElement.appendChild(document.createElement('table'));
35 document.documentElement.appendChild(document.createElement('mark'));
36 document.documentElement.appendChild(document.createElement('bdo'));
37 document.documentElement.appendChild(document.createElement('colgroup'));
38 document.documentElement.appendChild(document.createElement('strong'));
40 select = document.createElement('select');
41 document.documentElement.appendChild(select);
43 var sup = document.createElement('sup');
44 sup.setAttribute('class', 'c7');
45 document.documentElement.appendChild(sup);
46 var td = document.createElement('td');
47 td.setAttribute('class', 'c21');
48 document.documentElement.appendChild(td);
50 var th = document.createElement('th');
51 th.setAttribute('colspan', '2');
52 th.setAttribute('class', 'c26');
53 sup.appendChild(th);
55 setTimeout(crash, 0);
57 window.addEventListener("load", insertNodes, false);
58 </script>
59 </head>
60 <body>
61 <p> Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=70171">70171</a>: Crash in LayoutTableSection::splitColumn</p>
62 <p> This test PASSES if it does not CRASH or ASSERT.</p>
63 </body>
64 </html>