Files
servo/tests/wpt/css-tests/css21_dev/html4/case-sensitive-008.htm

27 lines
1009 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Case sensitive attributes</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#characters">
<meta name="flags" content="">
<meta name="assert" content="CSS style sheets parts that are not under the control of CSS are case dependant on the language being used.">
<style type="text/css">
#myid,
#MYID,
.myclass,
.MYCLASS,
[title="MYTITLE"],
[title="mytitle"]
{
color: red;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div title="MyTitle">Filler Text</div>
<div class="MyClass">Filler Text</div>
<div id="MyID">Filler Text</div>
</body>
</html>