summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/nth-child-of-complex-selector-many-children-ref.html
blob: 031f3f1785019cb73fe25dd739a36a5a248d0b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!doctype html>
<html>
<body>
    <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>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
    <p>White</p>
    <p>White</p>
    <p>White</p>
    <p style="background-color: lime">Green</p>
</body>
</html>