- From: smaug---- <notifications@github.com>
- Date: Mon, 06 Jun 2016 10:36:20 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc:
Received on Monday, 6 June 2016 17:36:49 UTC
https://github.com/whatwg/dom/pull/213 made it rely only on contentType but that isn't what UAs (Gecko, Blink, Edge at least) do. http://mozilla.pettay.fi/moztests/imagedoc.html Perhaps contentType should be used only in case Document is non-HTMLDocument. ImageDocument inherits HTMLDocument, so it is HTMLDocument and should create html elements by default. I didn't test svg handling. --- 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/issues/264
Received on Monday, 6 June 2016 17:36:49 UTC