Open
Description
What is the issue with the HTML Standard?
It's not clear from https://html.spec.whatwg.org/#dom-domparser-parsefromstring what the interface of the returned document should be.
We have this test written by @Ms2ger which asserts that the returned document is a Document
, but not an XMLDocument
. All browsers fail it: https://wpt.fyi/results/domparsing/DOMParser-parseFromString-xml.html
The spec should probably be clarified and the test fixed? Happy to do the later, not sure what the right way of doing the former would be but happy to do so with some guidance.
cc @annevk
Metadata
Metadata
Assignees
Labels
No labels