Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / table-caption-not-removed-crash.html
blobcd5d745267943cfa7331f8e3554ee9fca13acbd7
1 <!DOCTYPE html>
2 <html>
3 Webkit bug 83552 - Crash due to captions list not updated after section recalc.<br />
4 Test passes if it does not crash.
5 <style>
6 .flexbox1 + .caption1 { display: table-caption; }
7 .flexbox1 { display: -webkit-inline-box; }
8 </style>
9 <script>
10 if (window.testRunner)
11 testRunner.dumpAsText();
13 function runTest() {
14 div1 = document.createElement('div');
15 document.documentElement.appendChild(div1);
16 div2 = document.createElement('div');
17 div1.appendChild(div2);
18 cell1 = document.createElement('td');
19 cell1.setAttribute('class', 'caption1');
20 div1.appendChild(cell1);
21 div1.setAttribute('class', 'flexbox1');
22 document.body.offsetTop;
23 div2.setAttribute('class', 'flexbox1');
24 document.body.offsetTop;
25 div2.setAttribute('class', '');
27 window.onload = runTest;
28 </script>
29 </html>