W3C home > Mailing lists > Public > www-style@w3.org > July 2011

Re: [css3-images] Gradient Magic

From: Behnam Esfahbod ZWNJ <behnam@zwnj.org>
Date: Tue, 19 Jul 2011 01:59:46 -0400
Message-ID: <CAPTpOHKvNBEgX+iZ-d=+A6EwpACCOyWDKF_EZ3B=RsCHO13S-Q@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Brian Manthos <brianman@microsoft.com>, Brad Kemper <brad.kemper@gmail.com>, WWW-Style <www-style@w3.org>
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.


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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:02 UTC