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

Side by Side Diff: LayoutTests/fast/block/float/intruding-float-not-removed-from-descendant-crash.html

Issue 10182013: Revert 114853 - Merge 112935 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 8 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/float/intruding-float-not-removed-from-descendant-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
(Empty)
1 <html>
2 Test passes if it does not crash.
3 <style>
4 .div2 { float: none; width: 100px; }
5 .div2:nth-last-child(odd) { float: right; }
6 .span1 { float: right; height: 100px; }
7 .td1 { height: 100px; }
8 </style>
9 <script>
10 if (window.layoutTestController)
11 layoutTestController.dumpAsText();
12
13 function runTest() {
14 span1 = document.createElement('span');
15 span1.setAttribute('class', 'span1');
16 document.documentElement.appendChild(span1);
17
18 div2 = document.createElement('div');
19 div2.setAttribute('class', 'div2');
20 document.documentElement.appendChild(div2);
21
22 document.documentElement.appendChild(document.createElement('div'));
23
24 div3 = document.createElement('div');
25 document.documentElement.appendChild(div3);
26
27 document.documentElement.appendChild(document.createElement('span'));
28 document.documentElement.appendChild(document.createElement('span'));
29 document.documentElement.appendChild(document.createElement('span'));
30
31 span2 = document.createElement('span');
32 document.documentElement.appendChild(span2);
33
34 document.documentElement.appendChild(document.createElement('div'));
35
36 document.body.offsetTop;
37 div1 = document.createElement('div');
38 td1 = document.createElement('td');
39 td1.appendChild(document.createTextNode('PASS'));
40 td1.setAttribute('class', 'td1');
41 div1.appendChild(td1);
42 div2.appendChild(div1);
43
44 document.body.offsetTop;
45 document.body.appendChild(div3);
46
47 document.body.offsetTop;
48 span2.appendChild(span1);
49 document.createElement("span").appendChild(span2);
50 }
51
52 window.onload = runTest;
53 </script>
54 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/intruding-float-not-removed-from-descendant-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698