Re: [whatwg/dom] Set createDocument() content type from namespace (#218)

> @@ -5089,6 +5095,23 @@ method, when invoked, must run these steps:
>   <li><p><var>document</var>'s <a>origin</a> is the <a>origin</a> of the <a>context object</a>'s
>   associated <a>document</a>. [[!HTML]]
>  
> + <li><p><var>document</var>'s <a for=Document>content type</a> is determined by
> + <var>namespace</var>:
> +
> + <dl class=switch>
> +  <dt><a>HTML namespace</a>
> +  <dd><code>application/xhtml+xml</code>
> +
> +  <dt><a>SVG namespace</a>
> +  <dd><code>image/svg+xml</code>
> +
> +  <dt><a>MathML namespace</a>
> +  <dd><code>application/mathml+xml</code>

Per https://github.com/whatwg/dom/issues/217#issuecomment-209438878 it seems this should be application/xml

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/218/files/631d517cd8c05bf897ccf8c2564f84935ff33222#r59546382

Received on Wednesday, 13 April 2016 13:26:13 UTC