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 now sets namespace from contentType #2826

Merged
merged 1 commit into from
Apr 19, 2016

Conversation

ayg
Copy link
Contributor

@ayg ayg commented Apr 13, 2016

Update for whatwg/dom@c8ae9cbd. This assumes that whatwg/dom#217 is
resolved, so createDocument() is expected to provide a contentType based
on the namespace instead of always application/xml.

@hoppipolla-critic-bot
Copy link

Critic review: https://critic.hoppipolla.co.uk/r/6388

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@wpt-pr-bot
Copy link
Collaborator

Reviewers for this pull request are: @Ms2ger, @ayg, @foolip, @jdm, @plehegar, @zcorpan, and @zqzhang.

@@ -39,15 +43,15 @@
}, "Created element's namespace in created XML document");
test(function() {
testDoc(document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null),
"application/xml");
"application/xhtml+xml");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change for createDocument is not in the DOM standard yet?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, as noted in the commit message. I expect it will be there within a couple of days, and didn't want to bother updating the test twice. If it actually gets rejected, I'll fix the test then.

@zcorpan
Copy link
Member

zcorpan commented Apr 19, 2016

LGTM % the MathML case

@zcorpan zcorpan merged commit 3219251 into web-platform-tests:master Apr 19, 2016
ivanzr pushed a commit to ivanzr/web-platform-tests that referenced this pull request Jun 29, 2016
@ayg ayg deleted the createElement-namespace branch October 26, 2016 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants