diff options
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/cascade/at-import-010.xht')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/cascade/at-import-010.xht | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/cascade/at-import-010.xht b/testing/web-platform/tests/css/CSS2/cascade/at-import-010.xht new file mode 100644 index 0000000000..6ec33fe700 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/cascade/at-import-010.xht @@ -0,0 +1,19 @@ +<!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> + <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> |