Files
servo/tests/wpt/css-tests/css21_dev/html4/attribute-value-selector-004.htm

21 lines
812 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>CSS Test: Numeric attributes</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors">
<link rel="match" href="reference/no-red-filler-text-ref.htm">
<meta name="flags" content="invalid">
<meta name="assert" content="Attributes cannot begin with numerals.">
<style type="text/css">
[1digit], div
{
color: red;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div>Filler Text</div>
</body>
</html>