html5ever
html5ever copied to clipboard
Serialize unrecognized namespaces according to the prefix used
We have to query this information from the DOM.
Offshoot of #14.
cc @SimonSapin
As a specific example, the element created by
document.createElementNS("http://example.com/ns", "foo:bar")
should serialize as
<foo:bar></foo:bar>
even though its localName
is only bar
.
Perhaps an optional prefix should be part of string_cache::namespace::QualName
Exactly: https://github.com/servo/string-cache/issues/26