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

Side by Side Diff: LayoutTests/fast/block/float/float-not-removed-from-first-letter.html

Issue 10409080: Merge 116683 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
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/block/float/float-not-removed-from-first-letter-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 86019 - Crash due to floats not removed from first-letter element. 3 Webkit Bug 86019 - Crash due to floats not removed from first-letter element.
4 <style> 4 <style>
5 .li2 { width: 0px; } 5 .li2 { width: 0px; }
6 .li2:first-letter { float: left; content: counter(section); } 6 .li2:first-letter { float: left; content: counter(section); }
7 .li2:first-of-type { display: -webkit-inline-flexbox; } 7 .li2:first-of-type { display: -webkit-inline-flexbox; }
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 crash() { 13 function crash() {
14 li1 = document.createElement('li'); 14 li1 = document.createElement('li');
15 document.documentElement.appendChild(li1); 15 document.documentElement.appendChild(li1);
16 keygen1 = document.createElement('keygen'); 16 keygen1 = document.createElement('keygen');
17 keygen1.setAttribute('autofocus', 'autofocus'); 17 keygen1.setAttribute('autofocus', 'autofocus');
18 document.documentElement.appendChild(keygen1); 18 document.documentElement.appendChild(keygen1);
19 li2 = document.createElement('li'); 19 li2 = document.createElement('li');
20 li2.setAttribute('class', 'li2'); 20 li2.setAttribute('class', 'li2');
21 document.documentElement.appendChild(li2); 21 document.documentElement.appendChild(li2);
22 text1 = document.createTextNode("PASS. WebKit didn't crash."); 22 text1 = document.createTextNode("PASS. WebKit didn't crash.");
23 li2.appendChild(text1); 23 li2.appendChild(text1);
24 } 24 }
25 window.onload = crash; 25 window.onload = crash;
26 </script> 26 </script>
27 </html> 27 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/block/float/float-not-removed-from-first-letter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698