W3C home > Mailing lists > Public > www-style@w3.org > November 2010

Re: [css3-images] Repeating oblique gradients

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 30 Nov 2010 11:41:07 -0800
Message-ID: <AANLkTikSruuURHX+NDaJYY_j=oQ=07o8JqLTk8cxwM7w@mail.gmail.com>
To: Rik Cabanier <cabanier@adobe.com>
Cc: Leif Arne Storset <lstorset@opera.com>, Brad Kemper <brad.kemper@gmail.com>, www-style list <www-style@w3.org>
On Tue, Nov 30, 2010 at 11:32 AM, Rik Cabanier <cabanier@adobe.com> wrote:
>> Rotating raster images is indeed relatively expensive - this is why the image-orientation property only accepts multiples of 90deg.
> As Leif mentioned, this is a very common problem that is already solved.
> If the browser uses the OS API's to draw, there is support to do this natively (brushes on windows and patterns on mac).
> If the browser draws with OpenGL or DirectX, it takes no effort to implement (and run with no performance penalty).

I'll leave this to the browser vendors to decide.  If this is indeed
cheap, then we can relax the restriction on image-orientation.


>> Any evidence to the contrary showing that repeating gradients are used in practice would be appreciated
> In the flash world, repeating patterns are used all the time.
> If you go to money.cnn.com or finance.yahoo.com, you will see many repeating gradients in the ads for ETrade. For example, the 'shimmer' effect on the buttons is done with a reflected, rotated axial gradient.

Could you screencap some images for me?  I don't know if I'm seeing
the same ads as you.  (I had to remember to explicitly turn off
adblock, too - I was pretty confused at first!)

~TJ
Received on Tuesday, 30 November 2010 19:42:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:34 GMT