diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-12 05:35:37 +0000 |
commit | a90a5cba08fdf6c0ceb95101c275108a152a3aed (patch) | |
tree | 532507288f3defd7f4dcf1af49698bcb76034855 /testing/web-platform/tests/css/css-text-decor/text-shadow | |
parent | Adding debian version 126.0.1-1. (diff) | |
download | firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.tar.xz firefox-a90a5cba08fdf6c0ceb95101c275108a152a3aed.zip |
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-text-decor/text-shadow')
4 files changed, 46 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-near-zero-ref.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-near-zero-ref.html new file mode 100644 index 0000000000..6254e4e9fc --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-near-zero-ref.html @@ -0,0 +1,9 @@ +<!doctype html> +<style> + #target { + font-size: 100px; + color: rgba(0 255 0 / 0.5); + text-decoration: line-through; + } +</style> +<div id="target">X</div> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-near-zero.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-near-zero.html new file mode 100644 index 0000000000..01cb5f8684 --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-near-zero.html @@ -0,0 +1,14 @@ +<!doctype html> +<title>Text with decoration and a text-shadow with a color with alpha close to 0</title> +<link rel="help" href="https://drafts.csswg.org/css-text-decor/#text-shadow-property"> +<link rel="help" href="https://drafts.csswg.org/css-text-decor/#text-decoration-property"> +<link rel="match" href="basic-opacity-near-zero-ref.html"> +<style> + #target { + font-size: 100px; + color: rgba(0 255 0 / 0.5); + text-shadow: 0 2px 0 rgba(0 0 255 / 0.0001); + text-decoration: line-through; + } +</style> +<div id="target">X</div> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero-ref.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero-ref.html new file mode 100644 index 0000000000..6254e4e9fc --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero-ref.html @@ -0,0 +1,9 @@ +<!doctype html> +<style> + #target { + font-size: 100px; + color: rgba(0 255 0 / 0.5); + text-decoration: line-through; + } +</style> +<div id="target">X</div> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero.html new file mode 100644 index 0000000000..ff9d507853 --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero.html @@ -0,0 +1,14 @@ +<!doctype html> +<title>Text with decoration and a text-shadow with a color with alpha=0</title> +<link rel="help" href="https://drafts.csswg.org/css-text-decor/#text-shadow-property"> +<link rel="help" href="https://drafts.csswg.org/css-text-decor/#text-decoration-property"> +<link rel="match" href="basic-opacity-zero-ref.html"> +<style> + #target { + font-size: 100px; + color: rgba(0 255 0 / 0.5); + text-shadow: 0 2px 0 rgba(255 128 0 / 0); + text-decoration: line-through; + } +</style> +<div id="target">X</div> |