On 12/9/09 11:15 AM, Andrey Mikhalev wrote: >> @supports ( declaration-block ) { >> ruleset >> } > > such at-rule already exists. called @media. > btw, alows to avoid stylesheet load. We did consider adding media queries for this, but the syntax ends up looking pretty terrible, especially if and/or are allowed: too many parentheses. You're right that it would allow @import to be conditioned on this stuff; is that a highly desirable property? >> 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? Yeah. I don't think we want !supported. fantasai likes it, dbaron and I don't much, and as has been pointed out it has a number of problems. -BorisReceived on Wednesday, 9 December 2009 21:06:05 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT