W3C home > Mailing lists > Public > www-style@w3.org > July 2010

Re: if conditions again

From: Sebastian Hennebrueder <usenet@laliluna.de>
Date: Mon, 19 Jul 2010 09:08:20 +0200
Message-ID: <4C43F9E4.2000307@laliluna.de>
To: www-style list <www-style@w3.org>
Am 17.07.10 21:34, schrieb François REMY:
> Fine. Just fine. And how a browser not supporting @if will react
> to your code ? It will certainly not run (only) the code in the first
> if section, making your @if statement totally unusable.

it is correct that there is a transition needed. For many years web 
servers will need to deliver two versions of CSS depending on the 
requesting browser. It is a one time break of compatibility which buys a 
lower need to break compatibility for the future.

> The main problem for such functionnalities is that it won’t work
> at all in older browsers. The only solution that would degrade
> nicely in old browsers is to extend Media Queries, but it have been
> rejected many times since it was first requested.

In my opinion - Transforming media queries into if conditions - is a try 
to impose somehow a new feature and stay backward compatible. It will 
never look nice

Best Regards / Viele Grüße

Sebastian Hennebrueder
Software Developer and Trainer for Hibernate / Java Persistence
Received on Monday, 19 July 2010 07:08:54 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:48 UTC