W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2010

Re: gradients with no offset=0 or offset=1 stops

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 28 Oct 2010 17:06:13 +1300
To: Erik Dahlstrom <ed@opera.com>
Cc: public-svg-wg@w3.org
Message-ID: <20101028040612.GP10034@wok.mcc.id.au>
Erik Dahlstrom:
> If you want the (the lower) gradient to repeat or reflect, don't you
> also need to specify the gradient vector such that it doesn't fill
> the entire destination? Defaults are: x1=y1=y2=0%, x2=100%.

Yes, you are right.  So that makes it stranger why Firefox would paint
the gradient as it does, since no reflecting or repeating should come
into play.

I’ve added a third sub-test for a gradient without stops at offset 0 and
1, and with a gradient vector that doesn’t fill the whole rect.

Strangely (again!) spreadMethod="repeat" on that last one seems to be
doing something reflect-like in Firefox.

Cameron McCormack ≝ http://mcc.id.au/
Received on Thursday, 28 October 2010 04:06:56 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:44 UTC