summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/selector/attribute-value-selector-010-ref.html
blob: 1e2975c57f09cb16fa04ffeb052a61abe5dfc75e (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
<!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>
    <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 be green too</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<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>