W3C home > Mailing lists > Public > www-style@w3.org > September 2008

Re: standardization of IE's conditional comments

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Sun, 28 Sep 2008 18:10:52 +0100
Message-ID: <48DFBA9C.6050808@googlemail.com>
To: Gabriele Romanato <gabriele.romanato@gmail.com>
CC: www-style@w3.org

Gabriele Romanato wrote:
> IE's conditional comments are a standard de facto, since they're widely 
> used by authors and provide a good interoperability with this UA.
> My proposal is to extend CC also to other UA.

Conditional comments are a Trident-specific feature for text/html and 
serving different styles is not their only use.

Their standardization would be a matter for the HTML WG and (perhaps) 
the XHTML2 WG to consider, not the CSS WG. I suggest you redirect your 
proposal to them, including a use-case in terms of the author and user 
problems you're trying to solve and an evaluation of different 
alternatives for meeting that use-case.

/If/ we want a standard way to explicitly target particular engines or 
user agents (rather than allowing degradation or using hacks) - and 
that's an idea that has a lot of opposition - I think a variant of the 
@ua and @media ideas discussed in this list over the past year would be 
infinitely preferable to expanding the use of comments as code.

See the following threads for previous discussion:

"Proposal of @ua" thread (October-December 2007):
http://preview.tinyurl.com/4vubxt

"@media and browsers conditional statments" thread (August 2008):
http://preview.tinyurl.com/3z6es4

King regards
--
Benjamin Hawkes-Lewis
Received on Sunday, 28 September 2008 17:11:31 GMT

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