wpt / css / CSS2 / generated-content / content-attr-case-001.html

Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/CSS2/generated-content/content-attr-case-001.html

<!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>

/css/reference/pass_if_pass_below.html

<!doctype html>
<html>
<head>
   <title>Reference rendering - passes if there is the word "PASS" below</title>
   <link rel="author" title="Opera" href="https://www.opera.com/">
</head>
<body>
   <p>Test passes if there is the word "PASS" below.</p>
   <div>PASS</div>
</body>
</html>