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

Side by Side Diff: LayoutTests/fast/table/before-child-non-table-section-add-table-crash.html

Issue 6478004: Merge 77141 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/648/
Patch Set: Created 9 years, 10 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/before-child-non-table-section-add-table-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 <html> 1 <html>
2 <body onload="runTest();"> 2 <body onload="runTest();">
3 <div id="table" style="display: table;"> 3 <div id="table" style="display: table;">
4 <em id="em"></em> 4 <em id="em"></em>
5 <audio controls="arbitrary" style="display: table-caption;" /> 5 <audio controls="arbitrary" style="display: table-caption;" />
6 <img id="img" /> 6 <img id="img" />
7 </div> 7 </div>
8 <div id="result"></div> 8 <div id="result"></div>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 if (window.layoutTestController) 10 if (window.layoutTestController)
11 layoutTestController.dumpAsText(); 11 layoutTestController.dumpAsText();
12 12
13 function runTest() 13 function runTest()
14 { 14 {
15 var img = document.getElementById('img'); 15 var img = document.getElementById('img');
16 var em = document.getElementById('em'); 16 var em = document.getElementById('em');
17 em.parentNode.replaceChild(img, em); 17 em.parentNode.replaceChild(img, em);
18 document.body.offsetTop; 18 document.body.offsetTop;
19 document.body.removeChild(document.getElementById('table')); 19 document.body.removeChild(document.getElementById('table'));
20 20
21 document.getElementById("result").innerHTML = "PASS"; 21 document.getElementById("result").innerHTML = "PASS";
22 } 22 }
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/table/before-child-non-table-section-add-table-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698