summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/selectors/nth-child-of-no-space-after-of-ref.html
blob: 94dbc67a851f40879c78735960fece8cba10e820 (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
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
    div {
        color: red;
    }

    .target {
        color: green;
    }
</style>
<p>Testing no space between "of" and the selector list. If the test succeeded, every instance of the text "Success" should be green.</p>
<div></div>
<div>Foo</div>
<div></div>
<div>Bar</div>
<div></div>
<div class=target>Success</div>
<div></div>
<div>Foo</div>
<div></div>
<div>Bar</div>
<div></div>
<div class=target>Success</div>
<div></div>
<div>Foo</div>
<div></div>
<div>Bar</div>
<div></div>
<div class=target>Success</div>