summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/generated-content/content-attr-case-001.html
blob: 2ba49f95584e1c7904fc077bd12e0e044182f2a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<html>
    <head>
        <title>CSS Test: Content property attr(x) case sensitivity</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
        <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content">
        <link rel="match" href="../../reference/pass_if_pass_below.html" />
        <meta name="flags" content="HTMLonly">
        <meta name="assert" content="The attr(x) function selects the attribute even when case does not match.">
        <style type="text/css">
            div:before
            {
                content: attr(Title);
            }
        </style>
    </head>
    <body>
        <p>Test passes if there is the word "PASS" below.</p>
        <div title="PASS"></div>
    </body>
</html>