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

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

Issue 1072403010: SVG Text should respect non-scaling-stroke. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test with paint server 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
« no previous file with comments | « no previous file | LayoutTests/svg/stroke/non-scaling-stroke-pattern-text-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/stroke/non-scaling-stroke-pattern-text.html
diff --git a/LayoutTests/svg/stroke/non-scaling-stroke-pattern-text.html b/LayoutTests/svg/stroke/non-scaling-stroke-pattern-text.html
new file mode 100644
index 0000000000000000000000000000000000000000..342c472645feb0254224f5ab259614392a56f6c0
--- /dev/null
+++ b/LayoutTests/svg/stroke/non-scaling-stroke-pattern-text.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
fs 2015/04/22 13:31:41 The name of this is *-pattern-*, but since it fill
Shanmuga Pandi 2015/04/22 14:00:06 Done.
+<svg>
+ <linearGradient id="g" x2="0" y2="1">
+ <stop offset="0" stop-color="red"/>
fs 2015/04/22 13:31:41 I think we should use a more "boring" gradient her
Shanmuga Pandi 2015/04/22 14:00:06 Done.
+ <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>
« no previous file with comments | « no previous file | LayoutTests/svg/stroke/non-scaling-stroke-pattern-text-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698