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

Re: Feature queries

From: Andrey Mikhalev <amikhal@abisoft.spb.ru>
Date: Wed, 9 Dec 2009 22:15:08 +0300 (MSK)
To: fantasai <fantasai.lists@inkedblade.net>
cc: www-style@w3.org
Message-ID: <Pine.LNX.4.63.0912092205001.11722@master.abisoft.spb.ru>
On Tue, 8 Dec 2009, fantasai wrote:

> My proposal is two syntaxes. The first is an at-rule, which is handy if
> part of the style sheet depends on a major CSS feature such as Tempate
> Layout.
>  @supports ( declaration-block ) {
>     ruleset
>  }

such at-rule already exists. called @media.
btw, alows to avoid stylesheet load.

> The second is a !important-like syntax: all declarations with !supported
> must be supported for the style rule to take effect. This could be useful
> for more localized constructs, like changing text color depending on
> text-shadow support.

what if i want both '!important' and '!supported' for same decl?
Received on Wednesday, 9 December 2009 19:15:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT