W3C home > Mailing lists > Public > public-html@w3.org > April 2007

Re: Versioning and html[5]

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Sat, 14 Apr 2007 21:06:44 -0400
Message-ID: <46217AA4.7060600@earthlink.net>
To: Chris Wilson <Chris.Wilson@microsoft.com>
CC: Dave Raggett <dsr@w3.org>, "public-html@w3.org" <public-html@w3.org>

Chris Wilson wrote:
> Dave Raggett [mailto:dsr@w3.org] wrote:
>> IE conditional comments for HTML are better than selector hacks, but
>> have to be placed in the HTML and there is currently no direct
>> equivalent within CSS.
> 
> We did propose this in the CSS WG a couple of years ago, and got shot down.

   There's a reason for that. Prototyping using the vendor-specific
extension naming syntax works just fine. For instance, Mozilla has a
prototype implementation of "border-radius" under the name
"-moz-border-radius". When "border-radius" finally becomes part of a
recommendation, Mozilla can support it even if it doesn't work the same
as its earlier implementation because the names are different. In fact,
they can use the declaration of "border-radius" as a flag to turn off
the "-moz-border-radius" style.

   Also, CSS isn't version based to begin with. It's level based. But
even if you consider the levels nothing more than another name for
versions, how would versioning fix problems like the bugs in Internet
Explorer's CSS Level 1 implementation?

   But if you really want switches in CSS for IE to use, why not the
following?

| * { -msie-version: 7.0; }
Received on Sunday, 15 April 2007 01:04:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:42 UTC