Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / css3-space-in-nth-and-lang.html
blob130e0724196a31bd7c71b2e55502994e8d086e4a
1 <html>
2 <head>
3 <title>Leading/trailing space in :nth-* and :lang pseudo-classes</title>
4 <style type="text/css">
5 /* Integer */
6 div:nth-child( 1 ) { background-color: yellow; }
8 /* Identifier */
9 div:nth-child( odd ) { color: green; }
10 div:lang( en-GB ) { background-color: silver; }
12 /* an+b */
13 div:nth-child( 2n ) { color: blue; }
14 </style>
15 </head>
17 <body>
18 <div>Green on Yellow</div>
19 <div lang="en-GB">Blue on Silver</div>
20 <div>Green</div>
21 <div>Blue</div>
22 <div>Green</div>
23 <div>Blue</div>
24 </body>
25 </html>