Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Test: @import following an invalid selector</title>
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
<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>