@xmldom/xmldom
Advanced tools
Changelog
#509
/ #505
#498
/ #497
/ #117
#454
Thank you, @cjbarth, @shunkica, @pmahend1, @niklasl, for your contributions
Changelog
BREAKING CHANGE: Previously it was possible (but not documented) to call Node.removeChild
with any node in the tree,
and with certain exceptions, it would work. This is no longer the case: calling Node.removeChild
with an argument that is not a direct child of the node that it is called from, will throw a NotFoundError DOMException, as it is described by the specs.
Thank you, @noseworthy, @davidmc24, for your contributions
Changelog
compareDocumentPosition
method from level 3 spec. #488
getAttribute
and getAttributeNS
should return null
(#477) #46
#46
#485
/ #486
#489
BREAKING CHANGE: Iteration over attributes now happens in the right order and non-existing attributes now return null
instead of undefined. THe same is true for the namepsaceURI
and prefix
of Attr nodes.
All of the changes are fixing misalignment with the DOM specs, so if you expected it to work as specified,
nothing should break for you.
Thank you, @bulandent, @zorkow, for your contributions