Re: A Compromise to the Versioning Debate

Henri Sivonen schrieb:
>> Make <!DOCTYPE html> *always* trigger the latest standards mode, 
>> unless accompanied by an explicit switch.
>>
>> e.g.
>>
>> <!DOCTYPE html>
>> <!--[mode = IE8]-->
>> <html>
>> ...
>>
>> It doesn't really matter what syntax you use for it.
> 
> It sure does. If Microsoft insists on more switches, the sane way is to 
> use an attribute on the root element as it survives through various XML 
> APIs. I have been involved in hacking a SAX-based tool to preserve 
> (against my explicit advice) IE6 quirks modeness in XHTML served as 
> text/html. (The XML decl thing.) It was ugly.

Why should it survive? IE is the only browser who needs this, hence the 
proprietary conditional-comments thingy. Other browsers don't want to 
switch; they already handle the standards mode like the next IE is 
supposed to handle <!DOCTYPE html>.

--Dao

Received on Monday, 16 April 2007 08:18:35 UTC