Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Unified Diff: LayoutTests/svg/stroke/non-scaling-stroke-gradient-text.html

Issue 1072403010: SVG Text should respect non-scaling-stroke. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/stroke/non-scaling-stroke-gradient-text.html
diff --git a/LayoutTests/svg/stroke/non-scaling-stroke-gradient-text.html b/LayoutTests/svg/stroke/non-scaling-stroke-gradient-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..1bc6ea8ee6e63d1656e12b0ac7828079193613c8
--- /dev/null
+++ b/LayoutTests/svg/stroke/non-scaling-stroke-gradient-text.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<svg>
+ <linearGradient id="g" x2="0" y2="1">
+ <stop offset="0" stop-color="green"/>
+ <stop offset="0.5" stop-color="green"/>
+ <stop offset="0.5" stop-color="blue"/>
+ <stop offset="1" stop-color="blue"/>
+ </linearGradient>
+ <g transform="scale(2 2)">
+ <text x="0" y="50" fill="url(#g)" stroke="url(#g)" stroke-width="2" vector-effect="non-scaling-stroke" font-size="36">Hello</text>
+ </g>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698