Files
servo/tests/wpt/css-tests/css21_dev/xhtml1/at-import-010.xht

19 lines
988 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: @import following an invalid selector</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" />
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#at-rules" />
<link rel="match" href="reference/ref-this-text-should-be-green.xht" />
<meta name="flags" content="invalid" />
<meta name="assert" content="@import is respected after invalid (ignored) rule set" />
<style type="text/css">
# { background: red; }
:unknownpseudo { background: red; }
@import "support/import-green.css";
</style>
</head>
<body>
<p class="import">This text should be green.</p>
</body>
</html>