diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /testing/web-platform/tests/css/css-text-decor/text-shadow | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-adbda400be353e676059e335c3c0aaf99e719475.tar.xz firefox-adbda400be353e676059e335c3c0aaf99e719475.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-text-decor/text-shadow')
8 files changed, 71 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-none-ref.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-none-ref.html new file mode 100644 index 0000000000..9167272178 --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-none-ref.html @@ -0,0 +1,8 @@ +<!doctype html> +<style> +svg { font: bold 64px Arial, sans-serif; fill: none; stroke-width: 4px; } +</style> +<svg width="240" height="80"> + <text x="40" y="60" stroke="grey">Hello</text> + <text x="30" y="50" stroke="black">Hello</text> +</svg> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-none.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-none.html new file mode 100644 index 0000000000..389db4a342 --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-none.html @@ -0,0 +1,10 @@ +<!doctype html> +<title>CSS Test: 'text-shadow' respects 'fill="none"'</title> +<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-shadow-property"> +<link rel="match" href="svg-fill-none-ref.html"> +<style> +svg { font: bold 64px Arial, sans-serif; text-shadow: grey 10px 10px } +</style> +<svg width="240" height="80"> + <text x="30" y="50" fill="none" stroke="black" stroke-width="4">Hello</text> +</svg> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-opacity-ref.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-opacity-ref.html new file mode 100644 index 0000000000..73c878b89d --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-opacity-ref.html @@ -0,0 +1,7 @@ +<!doctype html> +<style> +svg { font: bold 64px Arial, sans-serif; text-shadow: grey 10px 10px } +</style> +<svg width="240" height="80"> + <text x="30" y="50" fill-opacity="0.5" fill="#FFFF00">Hello</text> +</svg> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-opacity.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-opacity.html new file mode 100644 index 0000000000..1ac577bf76 --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-fill-opacity.html @@ -0,0 +1,10 @@ +<!doctype html> +<title>CSS Test: 'text-shadow' respects non-opaque fill</title> +<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-shadow-property"> +<link rel="match" href="svg-fill-opacity-ref.html"> +<style> +svg { font: bold 64px Arial, sans-serif; text-shadow: grey 10px 10px } +</style> +<svg width="240" height="80"> + <text x="30" y="50" fill="rgba(255, 255, 0, 0.5)">Hello</text> +</svg> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-dasharray-ref.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-dasharray-ref.html new file mode 100644 index 0000000000..63e45f4e11 --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-dasharray-ref.html @@ -0,0 +1,8 @@ +<!doctype html> +<style> +svg { font: bold 64px Arial, sans-serif; fill: none; stroke-width: 2px; stroke-dasharray:2, 2; } +</style> +<svg width="240" height="80"> + <text x="40" y="60" stroke="grey">Hello</text> + <text x="30" y="50" stroke="black">Hello</text> +</svg> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-dasharray.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-dasharray.html new file mode 100644 index 0000000000..bd77d85edf --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-dasharray.html @@ -0,0 +1,10 @@ +<!doctype html> +<title>CSS Test: 'text-shadow' respects stroke-dasharray</title> +<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-shadow-property"> +<link rel="match" href="svg-stroke-dasharray-ref.html"> +<style> +svg { font: bold 64px Arial, sans-serif; text-shadow: grey 10px 10px } +</style> +<svg width="240" height="80"> + <text x="30" y="50" fill="none" stroke="black" stroke-width="2" stroke-dasharray="2, 2">Hello</text> +</svg> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-ref.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-ref.html new file mode 100644 index 0000000000..d3905fbfbc --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke-ref.html @@ -0,0 +1,8 @@ +<!doctype html> +<style> +svg { font: bold 64px Arial, sans-serif; stroke: black; stroke-width: 4px; } +</style> +<svg width="240" height="80"> + <text x="40" y="60" fill="grey" stroke="grey">Hello</text> + <text x="30" y="50">Hello</text> +</svg> diff --git a/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke.html b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke.html new file mode 100644 index 0000000000..b65348fd0f --- /dev/null +++ b/testing/web-platform/tests/css/css-text-decor/text-shadow/svg-stroke.html @@ -0,0 +1,10 @@ +<!doctype html> +<title>CSS Test: 'text-shadow' respects stroke</title> +<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-shadow-property"> +<link rel="match" href="svg-stroke-ref.html"> +<style> +svg { font: bold 64px Arial, sans-serif; text-shadow: grey 10px 10px } +</style> +<svg width="240" height="80"> + <text x="30" y="50" stroke="black" stroke-width="4">Hello</text> +</svg> |