1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 17:17:45 +00:00

LibWeb/Tests: Port two DOM cloneNode() test cases to text tests

This commit is contained in:
Shannon Booth 2023-08-21 22:07:27 +12:00 committed by Andreas Kling
parent a5fb0b4243
commit ed03dd0f99
6 changed files with 83 additions and 69 deletions

View file

@ -0,0 +1,19 @@
attr: [object Attr]
attr.ownerElement: [object HTMLDivElement]
attr.namespaceURI: null
attr.localName: foo
attr.name: foo
attr.value: bar
attr.specified: true
clone: [object Attr]
clone.ownerElement: null
clone.namespaceURI: null
clone.localName: foo
clone.name: foo
clone.value: bar
clone.specified: true
attr === clone -> false
attr.isEqualNode(clone) -> true
attr.isEqualNode(other) -> false