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

Side by Side Diff: LayoutTests/css3/parsing-css3-nthchild.html

Issue 1015303002: Promote new CSS parser to experimental (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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/css3/parsing-css3-nthchild-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 <head> 1 <head>
2 <style type="text/css"> 2 <style type="text/css">
3 #a:nth-child(n-1) { color: green; } 3 #a:nth-child(n-1) { color: green; }
4 #b:nth-child(n- 10) { color: green; } 4 #b:nth-child(n- 10) { color: green; }
5 #c:nth-child(n- 1 2) { color: green; } 5 #c:nth-child(n- 1 2) { color: green; }
6 #d:nth-child(n-b1) { color: green; } 6 #d:nth-child(n-b1) { color: green; }
7 #e:nth-child(n-+1) { color: green; } 7 #e:nth-child(n-+1) { color: green; }
8 #f:nth-child(n-1n) { color: green; } 8 #f:nth-child(n-1n) { color: green; }
9 #g:nth-child(-n-1) { color: green; } 9 #g:nth-child(-n-1) { color: green; }
10 #h:nth-child(-n- 10) { color: green; } 10 #h:nth-child(-n- 10) { color: green; }
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 </head> 45 </head>
46 <body onload="runTest()"> 46 <body onload="runTest()">
47 <p id="message">TEST DID NOT COMPLETE</p> 47 <p id="message">TEST DID NOT COMPLETE</p>
48 48
49 <p>Rules from the stylesheet:</p> 49 <p>Rules from the stylesheet:</p>
50 50
51 <pre id="result"></pre> 51 <pre id="result"></pre>
52 52
53 <p>Expected result:</p> 53 <p>Expected result:</p>
54 54
55 <pre id="expected">#a:nth-child(n-1) { color: green; } 55 <pre id="expected">#a:nth-child(1n-1) { color: green; }
56 #b:nth-child(n- 10) { color: green; } 56 #b:nth-child(1n-10) { color: green; }
57 #g:nth-child(-n-1) { color: green; } 57 #g:nth-child(-1n-1) { color: green; }
58 #h:nth-child(-n- 10) { color: green; } 58 #h:nth-child(-1n-10) { color: green; }
59 #n:nth-child(-n 59 #n:nth-child(-1n-1) { color: green; }
60 - 1) { color: green; } 60 #o:nth-child(-1n+13) { color: green; }
61 #o:nth-child(-n
62 +13) { color: green; }
63 </pre> 61 </pre>
64 </body> 62 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/css3/parsing-css3-nthchild-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698