summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/selectors/class-selector-007.xht
blob: 5ec98217461852d2cc961c3448cffde4ad133d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>CSS Test: Multiple class selectors and missing class values</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
        <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
        <link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
        <link rel="match" href="../reference/no-red-filler-text-ref.xht"/>
        <meta name="assert" content="All class names in the selector need to match all of the 'class' attribute values." />
        <style type="text/css">
            div.bar.foo.bat
            {
                color: red;
            }
        </style>
    </head>
    <body>
        <p>Test passes if there is no red visible on the page.</p>
        <div class="foo bar xyz abc">Filler Text</div>
    </body>
</html>