Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.createElement's namespace handling doesn't seem to match what UAs do #264

Closed
smaug---- opened this issue Jun 6, 2016 · 0 comments
Closed

Comments

@smaug----
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant