You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parses successfully. The #x attribute of the resulting DOM node can be successfully queried using getAttribute — but trying to modify it with setAttribute throws.
It may not be possible to change this, but it is still a poor API, and such documents have no serialization as XML. Perhaps a deprecation warning could be logged when getAttribute is called with such a name?
The text was updated successfully, but these errors were encountered:
Fixing setAttribute is tracked by whatwg/dom#449, which is a bit stalled. Since setAttribute is defined in DOM, let's use that issue tracker instead of this one.
Currently,
parses successfully. The
#x
attribute of the resulting DOM node can be successfully queried usinggetAttribute
— but trying to modify it withsetAttribute
throws.It may not be possible to change this, but it is still a poor API, and such documents have no serialization as XML. Perhaps a deprecation warning could be logged when
getAttribute
is called with such a name?The text was updated successfully, but these errors were encountered: