Re: [css3-images] Gradient Magic

Tab, I used "magic" only as a place-holder. In my implementation I
used "-v", like "bottom-right" and "bottom-right-v". I don't like the
idea of publicizing any magical behaviour too.

-Behnam


On Mon, Jul 18, 2011 at 6:43 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> 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
>



-- 
    '     بهنام اسفهبد
    '     Behnam Esfahbod
   '
  *  ..   http://behnam.esfahbod.info
 *  `  *  http://zwnj.org
  * o *   3E7F B4B6 6F4C A8AB 9BB9 7520 5701 CA40 259E 0F8B

Received on Tuesday, 19 July 2011 06:00:36 UTC