| 8.3.0 |
Calling this method without specifying a prefix will now choose a prefix instead of assuming the default namespace.
Previously this would create an attribute without a prefix and incorrectly apply the namespace
to the owner element because default namespaces don't apply on attributes.
|
| 8.3.0 |
Calling this method using a prefix that was already declared on the owner element with a different namespace URI
will now change the new prefix to avoid creating namespace conflicts. This aligns the behaviour with the DOM specification.
Previously this threw a DOMException with code DOM_NAMESPACE_ERR.
|