Re: [css3-images] Gradient Magic

On Mon, Jul 18, 2011 at 3:27 PM, Brian Manthos <brianman@microsoft.com> wrote:
> I revisited Behnam's rendering and still believe it aligns with the angular specification directly.  You're right thought that you have to use a different rectangle for than the original box.
[snip example]

Yeah, using a box with the reversed ratio should be the same as
reflecting the angle over y=x or y=-x.

I'm still strongly of the opinion that doing anything magical here is
a bad idea, and if we address this, it should be done via coordinate
spaces, as that's actually possible to explain to people ("you draw
the gradient into a square, and then stretch the square to fill the
canvas").

~TJ

Received on Monday, 18 July 2011 22:44:14 UTC