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

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