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

Unified Diff: LayoutTests/svg/animations/no-attr-lineargradient-spreadmethod.svg

Issue 141793002: Allow determining if an SVG value has been specified (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase again. Created 6 years, 11 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/animations/no-attr-lineargradient-spreadmethod.svg
diff --git a/LayoutTests/svg/animations/no-attr-lineargradient-spreadmethod.svg b/LayoutTests/svg/animations/no-attr-lineargradient-spreadmethod.svg
new file mode 100644
index 0000000000000000000000000000000000000000..d4cdab9509e716cff3fb669a7f2f7e94f7724798
--- /dev/null
+++ b/LayoutTests/svg/animations/no-attr-lineargradient-spreadmethod.svg
@@ -0,0 +1,11 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <linearGradient id="gradient" x2="50%">
+ <stop stop-color="#008000" offset="0"/>
+ <!-- 0.99 rather than 1 to counter a bug with pad -->
+ <stop stop-color="#008000" offset="0.99"/>
+ <stop stop-color="#ff0000" offset="1"/>
+ <set attributeName="spreadMethod" to="repeat" fill="freeze"/>
+ </linearGradient>
+ <rect width="100" height="100" fill="#ff0000"/>
+ <rect width="100" height="100" fill="url(#gradient)"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698