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

Side by Side Diff: LayoutTests/fast/block/body-inline-block-crash.html

Issue 12315018: Merge 142816 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 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/block/body-inline-block-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 Test passes if it does not crash. 2 Test passes if it does not crash.
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 function crash() { 7 function crash() {
8 body1 = document.createElement("body"); 8 body1 = document.createElement("body");
9 i1 = document.createElement("i"); 9 i1 = document.createElement("i");
10 document.documentElement.appendChild(i1); 10 document.documentElement.appendChild(i1);
11 i1.appendChild(body1); 11 i1.appendChild(body1);
12 body1.style.display = "inline-block"; 12 body1.style.display = "inline-block";
13 } 13 }
14 document.addEventListener("DOMContentLoaded", crash, false); 14 document.addEventListener("DOMContentLoaded", crash, false);
15 </script> 15 </script>
16 </html> 16 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/block/body-inline-block-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698