summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero.html')
-rw-r--r--testing/web-platform/tests/css/css-text-decor/text-shadow/basic-opacity-zero.html14
1 files changed, 14 insertions, 0 deletions
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>