Files
servo/tests/wpt/css-tests/css21_dev/html4/content-attr-case-001.htm

21 lines
810 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<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">
<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
{
color: green;
content: attr(Title);
}
</style>
</head>
<body>
<p>Test passes if there is the word "PASS" below.</p>
<div title="PASS"></div>
</body>
</html>