You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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.
The text was updated successfully, but these errors were encountered:
smaug----
added a commit
to smaug----/dom
that referenced
this issue
Jun 7, 2016
#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.
The text was updated successfully, but these errors were encountered: