Files
servo/tests/wpt/css-tests/css21_dev/html4/id-selector-005.htm

20 lines
794 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: Invalid ID selector syntax - Begins with numerals</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors">
<meta name="flags" content="invalid">
<meta name="assert" content="Identifier selectors are invalid if it begins with a numeral.">
<style type="text/css">
#1digit
{
color: red;
}
</style>
</head>
<body>
<p>Test passes if there is no red visible on the page.</p>
<div id="1digit">Filler Text</div>
</body>
</html>