Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(447)

Side by Side Diff: LayoutTests/fast/table/table-caption-not-removed-crash.html

Issue 10274004: Merge 113759 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/table/table-caption-not-removed-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 Webkit bug 83552 - Crash due to captions list not updated after section recalc.< br /> 3 Webkit bug 83552 - Crash due to captions list not updated after section recalc.< br />
4 Test passes if it does not crash. 4 Test passes if it does not crash.
5 <style> 5 <style>
6 .flexbox1 + .caption1 { display: table-caption; } 6 .flexbox1 + .caption1 { display: table-caption; }
7 .flexbox1 { display: -webkit-inline-box; } 7 .flexbox1 { display: -webkit-inline-box; }
8 </style> 8 </style>
9 <script> 9 <script>
10 if (window.layoutTestController) 10 if (window.layoutTestController)
11 layoutTestController.dumpAsText(); 11 layoutTestController.dumpAsText();
12 12
13 function runTest() { 13 function runTest() {
14 div1 = document.createElement('div'); 14 div1 = document.createElement('div');
15 document.documentElement.appendChild(div1); 15 document.documentElement.appendChild(div1);
16 div2 = document.createElement('div'); 16 div2 = document.createElement('div');
17 div1.appendChild(div2); 17 div1.appendChild(div2);
18 cell1 = document.createElement('td'); 18 cell1 = document.createElement('td');
19 cell1.setAttribute('class', 'caption1'); 19 cell1.setAttribute('class', 'caption1');
20 div1.appendChild(cell1); 20 div1.appendChild(cell1);
21 div1.setAttribute('class', 'flexbox1'); 21 div1.setAttribute('class', 'flexbox1');
22 document.body.offsetTop; 22 document.body.offsetTop;
23 div2.setAttribute('class', 'flexbox1'); 23 div2.setAttribute('class', 'flexbox1');
24 document.body.offsetTop; 24 document.body.offsetTop;
25 div2.setAttribute('class', ''); 25 div2.setAttribute('class', '');
26 } 26 }
27 window.onload = runTest; 27 window.onload = runTest;
28 </script> 28 </script>
29 </html> 29 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/table/table-caption-not-removed-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698