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>

I agree with @zcorpan, FWIW.

---
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#r59873749

Received on Friday, 15 April 2016 13:31:18 UTC