diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-conditional/support | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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> |