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

Re: Conditional CSS sections based on property support

From: David Woolley <david@djwhome.demon.co.uk>
Date: Tue, 5 Apr 2005 07:00:43 +0100 (BST)
Message-Id: <200504050600.j3560h802000@djwhome.demon.co.uk>
To: www-style@w3.org

> @group 
> {
...
>   background-color: #0F0;
....
>   some-unsupported-property: blah !required;
>   color: #F00;
>  }
> } /* end of group */
> 
> The first style would ordinarily be fine, the second style is required
> for the application of the entire group. The second style will fail if

This is at best a flawed example.  In this context, color and background-color
almost certainly must be !required, as colours should always be set in 
sets to ensure contrast.
Received on Tuesday, 5 April 2005 06:14:11 GMT

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