diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/tests/css/selectors/old-tests/reference | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/selectors/old-tests/reference')
16 files changed, 232 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/bq-u-u-u-green.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/bq-u-u-u-green.xht new file mode 100644 index 0000000000..17c893cd49 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/bq-u-u-u-green.xht @@ -0,0 +1,15 @@ +<!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>Blockquote then green eventually</title> + <style type="text/css"> + p { color: green; } + </style> + </head> + <body> + <blockquote><div>This text should be unstyled.</div></blockquote> + <div>This text should be unstyled.</div> + <div>This text should be unstyled.</div> + <p>This text should be green.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-g-u.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-g-u.xht new file mode 100644 index 0000000000..aedd173524 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-g-u.xht @@ -0,0 +1,15 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Five paragraphs lime background g u g g u</title> + <style type="text/css"> + .lime { background-color: lime } + </style> + </head> + <body> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-u-u.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-u-u.xht new file mode 100644 index 0000000000..2782cfc860 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-u-u.xht @@ -0,0 +1,15 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Five paragraphs lime background g u g u u</title> + <style type="text/css"> + .lime { background-color: lime } + </style> + </head> + <body> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p>This paragraph should be unstyled.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-u.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-u.xht new file mode 100644 index 0000000000..ee174e00e6 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-g-u.xht @@ -0,0 +1,14 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Four paragraphs lime background g u g u</title> + <style type="text/css"> + .lime { background-color: lime } + </style> + </head> + <body> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-u-g-g.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-u-g-g.xht new file mode 100644 index 0000000000..8d236dfc60 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-g-u-u-g-g.xht @@ -0,0 +1,15 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Five paragraphs lime background g u u g g</title> + <style type="text/css"> + .lime { background-color: lime } + </style> + </head> + <body> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + <p class="lime">This paragraph should have a green background.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-u-g-g-u-u-g.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-u-g-g-u-u-g.xht new file mode 100644 index 0000000000..1768b0ed27 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-u-g-g-u-u-g.xht @@ -0,0 +1,16 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Six paragraphs lime background u g g u u g</title> + <style type="text/css"> + .lime { background-color: lime } + </style> + </head> + <body> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-u-g-u-g-g.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-u-g-u-g-g.xht new file mode 100644 index 0000000000..d565fc0e22 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/lime-bg-paras-u-g-u-g-g.xht @@ -0,0 +1,15 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Five paragraphs lime background u g u g g</title> + <style type="text/css"> + .lime { background-color: lime } + </style> + </head> + <body> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + <p class="lime">This paragraph should have a green background.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/seven-green-divs.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/seven-green-divs.xht new file mode 100644 index 0000000000..8daf648750 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/seven-green-divs.xht @@ -0,0 +1,18 @@ +<!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>Seven green divs</title> + <style type="text/css"> + div { color: green; } + </style> + </head> + <body> + <div>This should be green.</div> + <div>This should be green.</div> + <div>This should be green.</div> + <div>This should be green.</div> + <div>This should be green.</div> + <div>This should be green.</div> + <div>This should be green.</div> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/this-address-p-p-p-lime-background.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/this-address-p-p-p-lime-background.xht new file mode 100644 index 0000000000..17f9b8c83d --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/this-address-p-p-p-lime-background.xht @@ -0,0 +1,18 @@ +<!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>"this line should have a green background" lime margin offset</title> + <style type="text/css"> + div, address { + background-color: lime ; + display : block ; + margin-bottom : 1em } + </style> + </head> + <body> + <address>This address should have a green background</address> + <div>This paragraph should have a green background</div> + <div>This paragraph should have a green background</div> + <div>This paragraph should have a green background</div> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-green-background.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-green-background.xht new file mode 100644 index 0000000000..35c264e149 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-green-background.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>"This line should be green." green</title> + <style type="text/css"> + p { background: green; color: white; } + </style> + </head> + <body> + <p>This line should be green.</p> + <p>This line should be green.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-green-color.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-green-color.xht new file mode 100644 index 0000000000..4ae49b1dca --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-green-color.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>"This line" green color</title> + <style type="text/css"><![CDATA[ + p { color: green } +]]></style> + </head> + <body> + <p>This line should be green.</p> +</body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-lime-background-offset.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-lime-background-offset.xht new file mode 100644 index 0000000000..9fd7a450df --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-lime-background-offset.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>"this line should have a green background" lime margin offset</title> + <style type="text/css"> + .a { background: lime; margin: 0; height: 1em; } + .b { margin: -1em 0 0 0; } + </style> + </head> + <body> + <div class="a"></div> + <div class="b">This line should have a green background.</div> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-lime-background.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-lime-background.xht new file mode 100644 index 0000000000..72fd9d8827 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/this-line-lime-background.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>"this line should have a green background" lime</title> + <style type="text/css"><![CDATA[ + p { background: lime; } +]]></style> + </head> + <body> + <p>This line should have a green background.</p> +</body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/this-test-has-passed-desc.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/this-test-has-passed-desc.xht new file mode 100644 index 0000000000..1688ca6237 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/this-test-has-passed-desc.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>This test has PASSED</title> + <style type="text/css"> + span { background-color: lime; } + </style> + </head> + <body> + <p>This test has <span>PASSED</span>.</p> + <p>(If the previous line just reads "This test has ." then this test has failed.)</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/three-p-lime-background-except-middle.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/three-p-lime-background-except-middle.xht new file mode 100644 index 0000000000..278fa2b749 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/three-p-lime-background-except-middle.xht @@ -0,0 +1,14 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Three paragraphs lime background middle unstyled</title> + <style type="text/css"> + p { margin: 0 0 1em 0; } + .lime { background-color: lime } + </style> + </head> + <body> + <p class="lime">This paragraph should have a green background.</p> + <p>This paragraph should be unstyled.</p> + <p class="lime">This paragraph should have a green background.</p> + </body> +</html> diff --git a/testing/web-platform/tests/css/selectors/old-tests/reference/three-paragraph-lime-characters.xht b/testing/web-platform/tests/css/selectors/old-tests/reference/three-paragraph-lime-characters.xht new file mode 100644 index 0000000000..46bfede1a5 --- /dev/null +++ b/testing/web-platform/tests/css/selectors/old-tests/reference/three-paragraph-lime-characters.xht @@ -0,0 +1,13 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>Three paragraphs, green</title> + <style type="text/css"> + p { color: lime } + </style> + </head> + <body> + <p>This paragraph should be in green characters.</p> + <p>This paragraph should be in green characters.</p> + <p>This paragraph should be in green characters.</p> + </body> +</html> |