diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-conditional/support')
3 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-conditional/support/at-media-dynamic-001-inner.html b/testing/web-platform/tests/css/css-conditional/support/at-media-dynamic-001-inner.html new file mode 100644 index 0000000000..a0cf87a9a5 --- /dev/null +++ b/testing/web-platform/tests/css/css-conditional/support/at-media-dynamic-001-inner.html @@ -0,0 +1,8 @@ +<!doctype html> +<title>Reftest Reference</title> +<style> + html { background: red; overflow: hidden; } + @media (max-width: 100px) { + html { background: green; } + } +</style> diff --git a/testing/web-platform/tests/css/css-conditional/support/fail.css b/testing/web-platform/tests/css/css-conditional/support/fail.css new file mode 100644 index 0000000000..1c2d64c7e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-conditional/support/fail.css @@ -0,0 +1 @@ +* { background:red ! important } diff --git a/testing/web-platform/tests/css/css-conditional/support/pass.xht b/testing/web-platform/tests/css/css-conditional/support/pass.xht new file mode 100644 index 0000000000..24dc3107e8 --- /dev/null +++ b/testing/web-platform/tests/css/css-conditional/support/pass.xht @@ -0,0 +1,12 @@ +<!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 Reftest Reference</title> + <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> + <style type="text/css"><![CDATA[ + html { background-color: green } + ]]></style> + </head> + <body> + </body> +</html> |