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:
parent
a5fb0b4243
commit
ed03dd0f99
6 changed files with 83 additions and 69 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue