Regression(r188105): Seems to have caused crashes during PLT on some iPads
[WebKit-https.git] / LayoutTests / fast / css / nth-child-of-compound-selector.html
1 <!doctype html>
2 <html>
3 <head>
4 <style>
5 /* 3n of paragraph with the class foobar but for which foobar is not the only class. */
6 p:nth-child(3n+1 of p.foobar:not([class=foobar])) {
7     background-color: lime;
8 }
9 </style>
10 </head>
11 <body>
12     <p class="foobar foo"></p>
13     <p>This test the styling of paragraphs with :nth-child(An+B of selector). If the test succeed, paragraphs that say "green" should have a green background.</p>
14     <p class="foobar">White!</p>
15     <p class="foobar foo">White!</p>
16     <p>White!</p>
17     <p class="foo foobar">White!</p>
18     <p>White!</p>
19     <p class="foobar foo">Green</p>
20     <p class="foobar">White!</p>
21     <p class="foo foobar">White!</p>
22     <p class="foobar">White!</p>
23     <p class="foo foobar baz">White!</p>
24     <p>White!</p>
25 </body>
26 </html>