Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/generated-content/content-attr-case-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test: Content property attr(x) case sensitivity</title>
<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>