← Back to release summary

createElementNS() : Throw InvalidCharacterError instead of NamespaceError on validating a qualified name

Category
DOM
Type
New or changed feature
Status
In developer trial (Behind a flag) (Chrome 60)
Intent stage
None

Summary

createElementNS() should now throw only InvalidCharacterError, not NamespaceError. Validating a qualified name should only throw InvalidCharacterError, not NamespaceError, after: https://github.com/whatwg/dom/issues/319 https://github.com/w3c/web-platform-tests/issues/5161 https://github.com/whatwg/dom/issues/423 Latest spec: https://dom.spec.whatwg.org/#validate

Standards & signals

View on chromestatus.com