summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/text/reftests/gradient-after-reposition-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/text/reftests/gradient-after-reposition-ref.html')
-rw-r--r--testing/web-platform/tests/svg/text/reftests/gradient-after-reposition-ref.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/text/reftests/gradient-after-reposition-ref.html b/testing/web-platform/tests/svg/text/reftests/gradient-after-reposition-ref.html
new file mode 100644
index 0000000000..3fe1224b9a
--- /dev/null
+++ b/testing/web-platform/tests/svg/text/reftests/gradient-after-reposition-ref.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html>
+<meta charset="utf-8">
+<body>
+<svg style="border: 1px solid gray;">
+ <defs>
+ <linearGradient id="testGradient">
+ <stop stop-color="#000000" offset="0%"/>
+ <stop stop-color="#000000" offset="50%"/>
+ <stop stop-color="#3dcd58" offset="50%"/>
+ <stop stop-color="#ff4a4a" offset="100%"/>
+ </linearGradient>
+ </defs>
+ <text fill="url(#testGradient)" x="50" y="50" font-weight="bold" font-size="40">
+ Test gradient</text>
+</svg>
+</body>
+</html>