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

UAs create elements in HTML namespace when context object is an HTML … #267

Closed
wants to merge 1 commit into from

Conversation

smaug----
Copy link
Collaborator

…document, fixes #264

annevk pushed a commit that referenced this pull request Jun 8, 2016
Since navigation can result in documents whose content type is, e.g.,
"image/png" and those documents are still HTML documents and create
elements in the HTML namespace, the fix in #213 was not entirely
correct.

Fixes #264.

PR: #267
@annevk
Copy link
Member

annevk commented Jun 8, 2016

Landed as fb1c986. Thank you!

(I also updated the non-normative description of createElement() and dropped the "text/html" content type since that can only happen for HTML documents.)

@annevk annevk closed this Jun 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

.createElement's namespace handling doesn't seem to match what UAs do
2 participants