x
.y
.
z
.These tests are about manipulating the nodes in your document.
I advise you to reload this page between tests; executing some tests may preclude others from working.
An <i>
tag is inserted in element x
, around the text.
var test = document.createElement('i'); x.applyElement(test)
y.removeNode(true)
y.removeNode(false)
x.replaceNode(z)
x.swapNode(z)