| Index: LayoutTests/fast/dom/Attr/change-id-via-attr-node-value-expected.txt
|
| diff --git a/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value-expected.txt b/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value-expected.txt
|
| index ad42c5a4007b38b6c2aeb7748b238faec8f66f4b..e55a3d0876c19cda0a3fbd45d333bb540ba99abe 100644
|
| --- a/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value-expected.txt
|
| +++ b/LayoutTests/fast/dom/Attr/change-id-via-attr-node-value-expected.txt
|
| @@ -1,5 +1,3 @@
|
| -CONSOLE WARNING: Attr child nodes are deprecated and will be removed in M45, around August 2015. Please use 'Attr.value' instead.
|
| -CONSOLE WARNING: Attr child nodes are deprecated and will be removed in M45, around August 2015. Please use 'Attr.value' instead.
|
| Test that different ways of changing an element's id all work properly.
|
|
|
| On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| @@ -37,47 +35,6 @@ PASS document.getElementById("f") is document.body
|
| PASS document.body.id is "f"
|
| PASS document.body.getAttribute("id") is "f"
|
| PASS attrNode.value is "f"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -7. Attr.replaceChild().
|
| -PASS document.getElementById("f") is null
|
| -PASS document.getElementById("g") is document.body
|
| -PASS document.body.id is "g"
|
| -PASS document.body.getAttribute("id") is "g"
|
| -PASS attrNode.value is "g"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -8. Attr.insertBefore().
|
| -PASS document.getElementById("g") is null
|
| -PASS document.getElementById("0g") is document.body
|
| -PASS document.body.id is "0g"
|
| -PASS document.body.getAttribute("id") is "0g"
|
| -PASS attrNode.value is "0g"
|
| -PASS attrNode.childNodes.length is 2
|
| -
|
| -9. attr.appendChild().
|
| -PASS document.getElementById("0g") is null
|
| -PASS document.getElementById("0g2") is document.body
|
| -PASS document.body.id is "0g2"
|
| -PASS document.body.getAttribute("id") is "0g2"
|
| -PASS attrNode.value is "0g2"
|
| -PASS attrNode.childNodes.length is 3
|
| -
|
| -10. Attr.removeChild()
|
| -PASS document.body.getAttributeNode("id").childNodes.length is 0
|
| -PASS document.getElementById("h") is null
|
| -PASS document.getElementById("") is null
|
| -PASS document.body.id is ""
|
| -PASS document.body.getAttribute("id") is ""
|
| -PASS document.body.getAttributeNode("id").value is ""
|
| -
|
| -11. Changing Text.nodeValue.
|
| -PASS attrNode.firstChild.nodeValue is "i"
|
| -PASS document.getElementById("i") is document.body
|
| -PASS document.body.id is "i"
|
| -PASS document.body.getAttribute("id") is "i"
|
| -PASS attrNode.value is "i"
|
| -PASS attrNode.childNodes.length is 1
|
|
|
| 12. Chnaging Attr.value.
|
| PASS document.getElementById("i") is null
|
| @@ -85,69 +42,6 @@ PASS document.getElementById("hi") is document.body
|
| PASS document.body.id is "hi"
|
| PASS document.body.getAttribute("id") is "hi"
|
| PASS attrNode.value is "hi"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -13. Text.splitText().
|
| -PASS document.getElementById("hi") is document.body
|
| -PASS document.body.id is "hi"
|
| -PASS document.body.getAttribute("id") is "hi"
|
| -PASS document.body.getAttributeNode("id").value is "hi"
|
| -PASS document.body.getAttributeNode("id").childNodes.length is 2
|
| -
|
| -14. Node.normalize(), joining text nodes.
|
| -PASS document.getElementById("hi") is document.body
|
| -PASS document.body.id is "hi"
|
| -PASS document.body.getAttribute("id") is "hi"
|
| -PASS document.body.getAttributeNode("id").value is "hi"
|
| -PASS document.body.getAttributeNode("id").childNodes.length is 1
|
| -
|
| -15. Changing Attr.nodeValue.
|
| -PASS document.getElementById("hi") is null
|
| -PASS document.getElementById("j") is document.body
|
| -PASS document.body.id is "j"
|
| -PASS document.body.getAttribute("id") is "j"
|
| -PASS attrNode.value is "j"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -16. Changing Text.data.
|
| -PASS document.getElementById("j") is null
|
| -PASS document.getElementById("k") is document.body
|
| -PASS document.body.id is "k"
|
| -PASS document.body.getAttribute("id") is "k"
|
| -PASS attrNode.value is "k"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -17. Changing text child with appendData().
|
| -PASS document.getElementById("k") is null
|
| -PASS document.getElementById("kl") is document.body
|
| -PASS document.body.id is "kl"
|
| -PASS document.body.getAttribute("id") is "kl"
|
| -PASS attrNode.value is "kl"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -18. Changing text child with insertData().
|
| -PASS document.getElementById("kl") is null
|
| -PASS document.getElementById("k1l") is document.body
|
| -PASS document.body.id is "k1l"
|
| -PASS document.body.getAttribute("id") is "k1l"
|
| -PASS attrNode.value is "k1l"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -19. Changing text child with deleteData().
|
| -PASS document.getElementById("k1l") is null
|
| -PASS document.getElementById("l") is document.body
|
| -PASS document.body.id is "l"
|
| -PASS document.body.getAttribute("id") is "l"
|
| -PASS attrNode.value is "l"
|
| -PASS attrNode.childNodes.length is 1
|
| -
|
| -20. Changing text child with replaceData().
|
| -PASS document.getElementById("l") is null
|
| -PASS document.getElementById("mn") is document.body
|
| -PASS document.body.id is "mn"
|
| -PASS document.body.getAttribute("id") is "mn"
|
| -PASS attrNode.value is "mn"
|
| -PASS attrNode.childNodes.length is 1
|
|
|
| 21. Remove an Attr node.
|
| PASS document.body.id is ""
|
|
|