Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/CSS2/cascade/at-import-009.xht - WPT Dashboard Interop Dashboard
<!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 a known but invalid @rule</title>
<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 known but ignored @rule." />
<style type="text/css">
@media;
@page;
@charset;
@import "support/import-green.css";
</style>
</head>
<body>
<p class="import">This text should be green.</p>
</body>
</html>