W3C home > Mailing lists > Public > www-style@w3.org > April 2005

Re: Targeting CSS3 only (evil?), either with pseudoclass or an extra syntax for properties.

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 04 Apr 2005 20:12:55 +1000
Message-ID: <42511327.3040803@lachy.id.au>
To: Barry <wassercrats@hotmail.com>
CC: www-style@w3.org

Barry wrote:
> I wouldn't mind that, but I'd rather see more browsers support 
> conditional comments.

Conditional comments are a dirty hack designed by Microsoft to promote 
the evil practice of browser sniffing, in order to...

   "...take advantage of the enhanced features and performance offered by
    Internet Explorer 5 and later versions". [1]

Given that, that document refers to every non-IE-5/6 browser as 
downlevel, and the fact that every single modern browser available now 
is more advanced than IE6, I can't believe anyone would consider them a 
good idea for other browsers to implement.

Their use encourages the practice of coding for specific browsers, which 
goes against the whole purpose of standardisation!  CSS hacks do too, 
but they don't pollute the document markup and they're more acceptable 
if used in moderation and when absolutely necessary to maintain 
accessibility.

[1] 
http://msdn.microsoft.com/workshop/author/dhtml/overview/ccomment_ovw.asp

-- 
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/     Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Received on Monday, 4 April 2005 10:14:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:36 GMT