3 Webkit bug
83552 - Crash due to captions list not updated after section recalc.
<br />
4 Test passes if it does not crash.
6 .flexbox1 + .caption1 { display: table-caption; }
7 .flexbox1 { display: -webkit-inline-box; }
10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
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
;