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

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 the QA contact for the bug.

Received on Thursday, 8 October 2009 15:30:12 UTC