W3C home > Mailing lists > Public > public-html@w3.org > October 2009

[Bug 7842] No programmatic way to make an HTML document - consider adding createHTMLDocument

From: <bugzilla@wiggum.w3.org>
Date: Thu, 08 Oct 2009 15:30:08 +0000
To: public-html@w3.org
Message-Id: <E1MvuwS-0004Sd-CJ@wiggum.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=7842


Simon Pieters <simonp@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |NE




--- Comment #2 from Simon Pieters <simonp@opera.com>  2009-10-08 15:30:07 ---
Both Opera and WebKit create a document with the HTMLness bit set, implements
the HTMLDocument interface, and uses standards mode.

WebKit uses a doctype (with name 'html' and publicId and systemId returning the
empty string), Opera doesn't. The document has the html, head, title and body
elements. In Opera, the title always has a text node child. In WebKit, it only
has a text node child if the argument wasn't the empty string. If the argument
is omitted, Opera throws a WRONG_ARGUMENTS_ERR internal exception and WebKit
sets the title to 'undefined' (i.e. it's not 'optional' in the IDL).


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Thursday, 8 October 2009 15:30:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:50 GMT