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-style-attr/reference | |
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-style-attr/reference')
4 files changed, 47 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-style-attr/reference/ref-green-on-green.xht b/testing/web-platform/tests/css/css-style-attr/reference/ref-green-on-green.xht new file mode 100644 index 0000000000..ce7a049475 --- /dev/null +++ b/testing/web-platform/tests/css/css-style-attr/reference/ref-green-on-green.xht @@ -0,0 +1,13 @@ +<!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="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> + <style type="text/css"><![CDATA[ + p { color: green; background: lime; } + ]]></style> + </head> + <body> + <p>This sentence must be green on a green background.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/css-style-attr/reference/ref-green.html b/testing/web-platform/tests/css/css-style-attr/reference/ref-green.html new file mode 100644 index 0000000000..af27b14790 --- /dev/null +++ b/testing/web-platform/tests/css/css-style-attr/reference/ref-green.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Reference</title> +<link rel="author" title="Intel" href="http://www.intel.com"> +<style type="text/css"> + div { color: green; } +</style> +<body> + <div>This should be green.</div> +</body> diff --git a/testing/web-platform/tests/css/css-style-attr/reference/ref-white-on-green-background.html b/testing/web-platform/tests/css/css-style-attr/reference/ref-white-on-green-background.html new file mode 100644 index 0000000000..7a92add2e4 --- /dev/null +++ b/testing/web-platform/tests/css/css-style-attr/reference/ref-white-on-green-background.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Reference</title> +<link rel="author" title="Intel" href="http://www.intel.com"> +<style> + div { background-color: green; color: white; } +</style> +<body> + <div>This should be white on green.</div> +</body> diff --git a/testing/web-platform/tests/css/css-style-attr/reference/style-attr-cascade-007.xht b/testing/web-platform/tests/css/css-style-attr/reference/style-attr-cascade-007.xht new file mode 100644 index 0000000000..152fff19fb --- /dev/null +++ b/testing/web-platform/tests/css/css-style-attr/reference/style-attr-cascade-007.xht @@ -0,0 +1,14 @@ +<!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="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> + <style type="text/css"><![CDATA[ + p { color: green; border: solid green; } + ]]></style> + </head> + <body> + <p> + This sentence must be green with a green border.</p> + </body> +</html> |