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

Re: Conditional CSS sections based on property support

From: Emrah BASKAYA <emrahbaskaya@hesido.com>
Date: Wed, 06 Apr 2005 01:18:10 +0300
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <opsor5kkd28nstxa@lomarnona>

On Tue, 5 Apr 2005 21:01:16 +0100 (BST), David Woolley
<david@djwhome.demon.co.uk> wrote:

> I wrote:
>> 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.

The authors' potential to mis-use a css feature is mainly the autor's
problem and this should not be a reason not to implement a feature. We are
allowed to have a green font on green background which is barely readable,
which is not good. But still, we can.

> Actually this raises one a possibly serious problem with all-or-nothing
> type processing.
> The problem is that what one really wants to test is whether the style
> rule would be effective, not just whether it is supported.  With
> !important rules, one could end up with a forward reference, if not
> circularity.

Testing whether the style would be effective instead of being supported is
indeed a very good idea. Ideas keep getting better and better.

Received on Tuesday, 5 April 2005 22:18:21 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:17 UTC