Bug 5968 - [CG] gradients do not support spreadMethod
: [CG] gradients do not support spreadMethod
Status: NEW
: WebKit
: 420+
: Macintosh Mac OS X 10.4
: P4 Normal
Assigned To:
: http://www.w3.org/Graphics/SVG/Test/2...
  Show dependency treegraph
Reported: 2005-12-06 03:53 PST by
Modified: 2011-02-11 18:18 PST (History)



You need to log in before you can comment on or make changes to this bug.

Description From 2005-12-06 03:53:02 PST
gradients does not support spreadMethod

This is easy to see in this test case:

There is no support for this type of thing in CG, so we would have to do our own.  This is an extremely 
uncommon feature, so this is very low priority.
------- Comment #1 From 2006-01-26 14:56:30 PST -------
This is a pretty obscure feature.  It would be nice to support this (and we'll likely have to, since the W3C 1.1 test suite covers it), however it's not particularly high priority work.
------- Comment #2 From 2008-08-01 06:05:34 PST -------
Looks like:

spreadMethod=pad is supported, but that:

spreadMethod=reflect and

are buggy
------- Comment #3 From 2009-06-13 22:05:16 PST -------
Only CG doesn't support spreadMethods.
------- Comment #4 From 2010-01-30 21:24:56 PST -------
I have some WIP code in bug 28152 to synthesize repeating gradients. Reflection would not be hard either.
------- Comment #5 From 2011-02-11 18:18:39 PST -------
I don't think I would call it "extremely" uncommon.  Hard to implement perhaps, but a useful part of SVG that has been in the spec since the beginning.

FWIW, Firefox seems to handle it OK.