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

Re: The argument for |bugmode| (was Re: If we have versioning, it should be in an attribute, not the doctype)

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Wed, 18 Apr 2007 06:37:08 -0400
Message-ID: <4625F4D4.7020909@earthlink.net>
To: Dão Gottwald <dao@design-noir.de>
CC: matt@builtfromsource.com, public-html@w3.org

Dão Gottwald wrote:
> Matthew Raymond schrieb:
>> Example:
>> | <!DOCTYPE html>
>> | <html bugmode="IE7">
> I'd like to hear from other vendors if they would find that useful.
> So far, I believe IE would be the only browser using that, and only as 
> an interim solution, thus it shouldn't be part of the specification.

   Possibly, but seeing as they're the ones shouting the loudest for a
switch, any switch we provide will essentially be for ID specifically.

> Also note that a page can depend on various buggy user agents.

   It's more likely that an author will write around the bugs of several
browsers than take advantage of bugs in several browsers. I can see
pages using proprietary features from various browsers, but that's not
what |bugmode| is for. The |bugmode| attribute indicates that the page
relies on one or more bugs, not a proprietary element or attribute. Most
intentionally proprietary markup can be supported without a switch.

   Then again, if you have a use case in mind, we could always make
|bugmode| a space separated list like |class|:

| <html bugmode="IE7 IE8 Opera9 Gecko1.9 EVE-Online2">

   Also, I think that any page using |bugmode| should trigger a
non-modal notification by the user agent stating that the page is using
a specific bug compatibility mode. ("MUST"?)
Received on Wednesday, 18 April 2007 10:34:56 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:19 UTC