W3C home > Mailing lists > Public > www-style@w3.org > October 2007

Re: Proposal of @ua

From: Kornel Lesinski <kornel@osiolki.net>
Date: Sun, 21 Oct 2007 00:34:39 +0100
To: freyjkell@gmail.com
Cc: www-style <www-style@w3.org>
Message-ID: <op.t0irr1fn4suneb@aimac.local>

On Thu, 18 Oct 2007 15:45:10 +0100, Nikodem <freyjkell@gmail.com> wrote:

> I wonder mostly about IE (other UAs are generally good), because I don't  
> wanna see anymore such shit like:
> <!--[if IE]><link rel="stylesheet" href="ie-sux.css"/><![endif]-->
> <![if !IE><link rel="stylesheet" href="non-ie-rox.css"/><![endif]>
> <!-- non-commented <![if ...]> is also incorrect HTML code -->
> <!--[if IE]><script src="re-styler.js"></script><![endif]-->
> * html div#123
> d\iv#abc
> My proposal, even if will be issued in IE 99, can clear CSS code.

Conditional comments in HTML encourage using completely separate  
stylesheet for IE, so all ugly code is kept in one place and can be easily  
revised when Microsoft changes IE.

Your proposal makes it easier to pollute CSS code with UA-specific hacks,  
so I don't think that's improvement over conditional HTML comments in  
terms of CSS tidyness.

I'm still longing for @required though...

regards, Kornel Lesiński
Received on Saturday, 20 October 2007 23:35:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC