W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2007

[whatwg] Using the HTML5 DOCTYPE as a new quirksmode switch

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 19 Jun 2007 04:45:59 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0706190444430.26929@dhalsim.dreamhost.com>
On Sat, 10 Mar 2007, Jorgen Horstink wrote:
> 
> As far as I understand it, the new DOCTYPE switch is meant to 'tell' to 
> browser the document follows the HTML5 specification.

No, the new DOCTYPE is merely meant to trigger standards mode (as opposed 
to quirks mode).


> HTML5 is set up to be backwards compatible with HTML4 documents. The 
> opposite does not hold. There must be at least one new DOCTYPE to 'tell' 
> the browser HTML5 is being served.

No, the opposite does in fact hold. It shouldn't matter whether the 
document is HTML5 or HTML4 or earlier; they all have the same processing 
rules, given by the HTML5 spec.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 18 June 2007 21:45:59 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:56 UTC