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

Re: Proposal of @ua

From: Brad Kemper <brkemper@comcast.net>
Date: Fri, 19 Oct 2007 09:25:54 -0700
Message-Id: <1F195CD8-196D-44A5-9FE5-53993485A40F@comcast.net>
To: W3C Emailing list for WWW Style <www-style@w3.org>

>> [1] http://meiert.com/en/blog/20070201/why-conditional-comments-are-
>> bad-repeat-bad/
> The link gives good reason why conditional statements should be in
> the CSS (such as with @ua) instead of the HTML itself. It is why I
> often have to resort to CSS hacks in one CSS file, rather than adding
> conditional statements to every HTML file. I would much rather use a
> legitimate @ua rule (if it worked similarly to media queries) than
> the hacks I use now to get the job done.

Sure, but as long as user-agents mean quite “differing” spec  
implementations, those “hacks” – when really needed – are certainly  
still more maintainable than having n style sheets polluting the HTML  
(as with CCs) or having n “@ua” rules. The latter might be slightly  
better, but it's still about having working, standards compliant  
implementations, I fear :/

However, it will stay exciting ;)

Best regards,

Jens Meiert
Received on Friday, 19 October 2007 16:26:17 UTC

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