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> |