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

Side by Side Diff: LayoutTests/fast/css/nested-first-letter-with-float-crash.html

Issue 8399045: Merge 98561 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 1 month 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/css/nested-first-letter-with-float-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 <style type="text/css"> 2 <style type="text/css">
3 .parentStyle { position: absolute; } 3 .parentStyle { position: absolute; }
4 .parentStyle:first-letter { position: inherit; } 4 .parentStyle:first-letter { position: inherit; }
5 .positionedChildStyle { position: absolute; } 5 .positionedChildStyle { position: absolute; }
6 .divChildStyle:first-letter { float: left; } 6 .divChildStyle:first-letter { float: left; }
7 .divChildStyle:after { float: inherit; content: counter(blah); } 7 .divChildStyle:after { float: inherit; content: counter(blah); }
8 </style> 8 </style>
9 PASS, if the script does not cause a crash or ASSERT failure 9 PASS, if the script does not cause a crash or ASSERT failure
10 <script> 10 <script>
11 function runTest() { 11 function runTest() {
12 parentDiv = document.createElement('div'); 12 parentDiv = document.createElement('div');
13 parentDiv.setAttribute('class', 'parentStyle'); 13 parentDiv.setAttribute('class', 'parentStyle');
14 document.documentElement.appendChild(parentDiv); 14 document.documentElement.appendChild(parentDiv);
15 positionedDiv = document.createElement('div'); 15 positionedDiv = document.createElement('div');
16 positionedDiv.setAttribute('class', 'positionedChildStyle'); 16 positionedDiv.setAttribute('class', 'positionedChildStyle');
17 parentDiv.appendChild(positionedDiv); 17 parentDiv.appendChild(positionedDiv);
18 divChild = document.createElement('div'); 18 divChild = document.createElement('div');
19 divChild.setAttribute('class', 'divChildStyle'); 19 divChild.setAttribute('class', 'divChildStyle');
20 parentDiv.appendChild(divChild); 20 parentDiv.appendChild(divChild);
21 if (window.layoutTestController) 21 if (window.layoutTestController)
22 layoutTestController.dumpAsText(); 22 layoutTestController.dumpAsText();
23 } 23 }
24 window.onload = runTest; 24 window.onload = runTest;
25 </script> 25 </script>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/nested-first-letter-with-float-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698