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

Re: [gradients] basics

From: Brad Kemper <brad.kemper@gmail.com>
Date: Mon, 9 Nov 2009 07:54:51 -0800
Cc: www-style list <www-style@w3.org>
Message-Id: <BC285AF4-43A3-4D41-BB61-5E3182B701F0@gmail.com>
To: "Andrew Fedoniouk" <news@terrainformatica.com>

On Nov 9, 2009, at 12:21 AM, Andrew Fedoniouk wrote:

>> Because the image is a small repeating thing (a pattern for  
>> example)  and I've no idea how much content will go in the box ?
>> http://dev.l-c-n.com/CSS3_border-background/gradient3.html
>> (requires a recent Minefield build, didn't try to write the code  
>> for  WebKit)
> This is a bit weak case I would say as:
> Alpha-math theorem:
> For any semi-transparent gradient on top of image there is always  
> such a combination of  some gradient with semi-transparent image
> on top of it that produce the same visual result.
> Do I need to prove it or is it clear enough?

Yes, I'd like proof. I'd like to see how you would create a repeating  
pattern (where more tiles are visible, and undistorted, when the box  
is bigger), and have that entire background painting area fade from  
"pure" tiles at the bottom to solid white at the top. In other words,  
like this in the current draft:

background-image: linear-gradient(90deg,transparent,white), url 
background-repeat: no-repeat; repeat;
background-origin: border-box;
background-size: auto;

Received on Monday, 9 November 2009 15:55:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:40 UTC