summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/nth-last-child-of-classname-ref.html
blob: 7df68b2aee50b4e0522212523effc3f23ef13a24 (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-last-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 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>
    <p>White</p>
</body>
</html>