Files
servo/tests/wpt/css-tests/css21_dev/html4/invalid-at-rule-001.htm

23 lines
869 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Parser error handling with invalid at-rules: @ invalid selector invalidates entire block</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors">
<meta name="flags" content="invalid">
<meta name="assert" content="The entire block of an invalid at-rule is ignored.">
<style type="text/css">
@badAtRule screen
{
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>