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