W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Re: Targeting CSS3 only (evil?), either with pseudoclass or an extra syntax for properties.

From: Emrah BASKAYA <emrahbaskaya@hesido.com>
Date: Thu, 07 Apr 2005 01:17:34 +0300
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <opsotz7ku48nstxa@lomarnona>

On Wed, 6 Apr 2005 21:19:18 +0000 (UTC), Ian Hickson <ian@hixie.ch> wrote:


> The above is unnecessary. Just do:
>
>   body {
>     background-color: white;
>
>     /* CSS2 */
>     background-image: url('main_bg.png');
>     background-position: top left;
>     background-repeat: repeat
>
>     /* CSS3 */
>     background-image: url('flower.png'), url('ball.png'),  
> url('main_bg.png');
>     background-position: bottom right, center, top left
>     background-repeat: no-repeat, no-repeat, repeat
>   }
>
> ...and it'll work exactly as you wanted it to. Any UA that spports the
> multiple-value syntax will use the second set, and any compliant UA that
> doesn't will use the first set instead.
>

It may be correct for this example because it uses multiple-value syntax,  
but what about other properties? (just repeat the same propery using  
commas trick?) and let's remember most think that we need more than a CSS3  
scheme, the discussion shifted to "Conditional CSS sections based on  
property support".


-- 
Emrah BASKAYA
www.hesido.com
Received on Wednesday, 6 April 2005 22:17:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT