W3C home > Mailing lists > Public > public-html@w3.org > August 2008

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 17 Aug 2008 21:49:54 -0400
Message-ID: <48A8D542.4000406@mit.edu>
To: Ian Hickson <ian@hixie.ch>
CC: public-html <public-html@w3.org>

Ian Hickson wrote:
> The risk of implementing this as Firefox does, of course, is lack of 
> compatibility with pages that are expecting HTML handling. To gain some 
> level of compatibility we have to, at a minimum, strip leading and 
> trailing space characters, and ignore any content after the first 
> semicolon.

For what it's worth, Gecko just uses the same function for parsing this 
string as it uses for the Content-Type HTTP header.

-Boris
Received on Monday, 18 August 2008 01:50:39 UTC

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