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

type parameter of Document.open() (detailed review of the DOM)

From: Simon Pieters <simonp@opera.com>
Date: Mon, 09 Jul 2007 15:56:41 +0200
To: public-html <public-html@w3.org>
Message-ID: <op.tu7acrj3idj3kv@hp-a0a83fcd39d2.palace.opera.no>

(This is part of my detailed review of the Document Object Model section.)

Step 9 in Document.open() says:

    If type does not have the value "text/html", then act as if the
    tokeniser had emitted a pre element start tag, then set the HTML
    parser's tokenisation stage's content model flag to PLAINTEXT.

However this is not what any of IE, Opera, Firefox or Safari are doing,  
AFAICT. They treat "text/plain" as text/plain and anything else as  
text/html. Is this intentional?

-- 
Simon Pieters
Opera Software
Received on Monday, 9 July 2007 13:56:53 UTC

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