1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:47:35 +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,11 @@
pi: [object ProcessingInstruction]
pi.target: someTarget
pi.data: someData
clone: [object ProcessingInstruction]
clone.target: someTarget
clone.data: someData
pi === clone -> false
pi.isEqualNode(clone) -> true
pi.isEqualNode(other) -> false