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

Fix XML-related issues in createDocument and createElement #2195

Merged
merged 1 commit into from May 23, 2018

Conversation

domenic
Copy link
Member

@domenic domenic commented Apr 16, 2018

  • createElement() was not correctly setting a null namespace for non-XHTML XML documents
  • createDocument() was not correctly setting the content type based on the namespace

This is not ready for merge. I believe it depends on both #2192 and web-platform-tests/wpt#10484 to pass all the relevant web platform tests.

@domenic
Copy link
Member Author

domenic commented Apr 29, 2018

Blocked on whatwg/dom#643

* createElement() was not correctly setting a null namespace for non-XHTML XML documents
* createDocument() was not correctly setting the origin
* Removed unnecessary getter in DocumentImpl for contentType and origin properties
* Refactored contentType determination in document creation so that documentImpl.contentType is always present
@domenic domenic merged commit 4c13bd3 into master May 23, 2018
@domenic domenic deleted the more-fixes branch May 23, 2018 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant