diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/css/css-variables/reference | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-variables/reference')
3 files changed, 64 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-variables/reference/variable-reference-without-whitespace-ref.html b/testing/web-platform/tests/css/css-variables/reference/variable-reference-without-whitespace-ref.html new file mode 100644 index 0000000000..3d9aaed6b1 --- /dev/null +++ b/testing/web-platform/tests/css/css-variables/reference/variable-reference-without-whitespace-ref.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<title>Variable reference without whitespace - reference</title> +<link rel=author title="Simon Sapin" href=http://exyr.org/about/> +<p>The next four lines must be identical, containing only zeroes: +<p>0 0 0 +<p>0 0 0 +<p>0 0 0 +<p>0 0 0 + +<p>The next four lines must be identical, containing increasing integers: +<p>1 2 3 +<p>1 2 3 +<p>1 2 3 +<p>1 2 3 diff --git a/testing/web-platform/tests/css/css-variables/reference/vars-background-shorthand-001-ref.html b/testing/web-platform/tests/css/css-variables/reference/vars-background-shorthand-001-ref.html new file mode 100644 index 0000000000..93561fd614 --- /dev/null +++ b/testing/web-platform/tests/css/css-variables/reference/vars-background-shorthand-001-ref.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<title>CSS Variables 1: Test variables in background shorthand.</title> +<link rel="author" title="Lea Verou" href="mailto:lea@verou.me"> +<style> +div { + width: 50px; + height: 50px; + padding: 50px; + margin: 10px; + display: inline-block; + background: green; +} +</style> +<p>Test passes if you see four green squares, and no red.</p> +<div id="d1"></div> +<div id="d2"></div> +<div id="d3"></div> +<div id="d4"></div> + + + diff --git a/testing/web-platform/tests/css/css-variables/reference/vars-font-shorthand-001-ref.html b/testing/web-platform/tests/css/css-variables/reference/vars-font-shorthand-001-ref.html new file mode 100644 index 0000000000..39cb4da9bc --- /dev/null +++ b/testing/web-platform/tests/css/css-variables/reference/vars-font-shorthand-001-ref.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<title>CSS Variables 1: Test variables in @font-face, font-family, font shorthand.</title> +<link rel="author" title="Lea Verou" href="mailto:lea@verou.me"> +<style> + + + +div { + width: 150px; + height: 150px; + margin: 10px; + display: inline-block; + vertical-align: middle; + background: green; + text-align: center; + color: green; + overflow: hidden; +} + +</style> +<p>Test passes if you see six green squares, and no red.</p> +<div id="d1">X</div> +<div id="d2">X</div> +<div id="d3">X</div> +<div id="d4">X</div> +<div id="d5">X</div> +<div id="d6">X</div> + + |