Re: Feature queries

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 UTC