- From: Pascal Germroth <pascal@germroth.name>
- Date: Wed, 09 Dec 2009 21:48:58 +0100
- To: Zack Weinberg <zweinberg@mozilla.com>
- CC: W3C Emailing list for WWW Style <www-style@w3.org>
Hello, > This needs 'else' and 'else if' constructs. How about > > @if supports( ... ) { > ruleset > } > @elif supports( ... ) { > ruleset > } > @else { > ruleset > } If media-query like operators were allowed, we need no @else: @if supports( display: run-in; ) { ... } @if supports( not(display: run-in); ) {...} I think few people would use @else anyway, but instead use cascading: div {...} /* default case */ @if supports( foo: bar; ) { div {...} /* special case*/ } -- pascal
Received on Wednesday, 9 December 2009 20:49:34 UTC