diff options
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> |