summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/selector/attribute-value-selector-008-ref.html
blob: d0c5f80a476885991408383ff69a69773a9960e9 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
    .green {
        background-color: green;
        color: white;
    }
</style>
<body>
    <div class="green">This line should be green</div>
    <div class="green">This line should be green</div>
    <div class="green">This line should be green</div>
    <p class="green">This line should be green <em>and this should also be green</em></p>

    <div>This line should NOT be green</div>
    <div>This line should NOT be green</div>
    <div>This line should NOT be green</div>
    <div>This line should NOT be green</div>
    <div>This line should NOT be green</div>
    <div>This line should NOT be green</div>
    <div>This line should NOT be green</div>
    <div>This line should NOT be green<p>This line should NOT be green</p></div>
    <p>This line should NOT be green <em>and this should not be green either</em></p>
</body>