W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2011

Re: [DOMCore] Can you create an HTML document with createDocument()?

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 17 Jun 2011 18:12:36 +0200
To: Ms2ger <ms2ger@gmail.com>, "Olli Pettay" <Olli.Pettay@helsinki.fi>
Cc: "David Flanagan" <dflanagan@mozilla.com>, www-dom@w3.org
Message-ID: <op.vw79zawt64w2qv@anne-van-kesterens-macbook-pro.local>
On Fri, 03 Jun 2011 12:12:10 +0200, Olli Pettay <Olli.Pettay@helsinki.fi>  
wrote:
> On 06/03/2011 11:26 AM, Ms2ger wrote:
>> On 06/03/2011 02:33 AM, David Flanagan wrote:
>>> Firefox 4 allows me to create an HTML document with createDocument(),  
>>> if I set the namespace and doctype correctly, so I'm wondering if this
>>> restriction in the spec is intentional or not.
>>
>> AFAICT, Chrome and Opera don't support this.
>
> You can create HTML Document at least in Opera, and based on
> source code also in webkit.

Do we want to keep that behavior around though? (I.e. through setting a  
doctype and namespace.)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 17 June 2011 16:13:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:07 GMT