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

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 UTC