summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/nth-child-of-classname-ref.html
blob: b424e73b4508f255cbdbdcaf88446961e7814727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!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 class="webkit">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>White</p>
    <p style="background-color: lime">Green!</p>
    <p>White</p>
</body>
</html>