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

(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