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

Matthew Raymond schrieb:
>    Enter |bugmode|. It works very similar to a |version| attribute, but
> rather than specifying the version of HTML, it specifies the version of
> a specific user agent that the page was designed to be bug-compatible
> with. Example:
> 
> | <!DOCTYPE html>
> | <html bugmode="IE7">
> 
>    Note that this solution allows Microsoft to make multiple releases
> between HTML version, because they'll never run out of potential
> |bugmode| values. Also, the feature can also be used for pages that
> depend on bugs in other user agents:
> 
> | <!DOCTYPE html>
> | <html bugmode="Gecko 1.9">

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.

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

--Dao

Received on Wednesday, 18 April 2007 08:35:01 UTC