WPT
wpt / dom / nodes / ChildNode-replaceWith.html
Spec: DOM ↗
Runs: Chrome 155.0.8041.0 (wpt@07d3da1fa, 2026-09-04) | Firefox 157.0a1 (wpt@4fbf9ef4d, 2026-09-04) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a7825 (wpt@4fbf9ef4d, 2026-09-04) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 33/33 | 33/33 | 33/33 | 33/33 | 33/33 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| Comment.replaceWith() without any argument. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with null as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with undefined as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with empty string as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with only text as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with only one element as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with sibling of child as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with one sibling of child and text as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with one sibling of child and child itself as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() with one element and text as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Comment.replaceWith() on a parentless child with two elements as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() without any argument. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with null as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with undefined as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with empty string as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with only text as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with only one element as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with sibling of child as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with one sibling of child and text as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with one sibling of child and child itself as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() with one element and text as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Element.replaceWith() on a parentless child with two elements as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() without any argument. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with null as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with undefined as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with empty string as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with only text as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with only one element as an argument. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with sibling of child as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with one sibling of child and text as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with one sibling of child and child itself as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() with one element and text as arguments. | PASS | PASS | PASS | PASS | PASS | — |
| Text.replaceWith() on a parentless child with two elements as arguments. | PASS | PASS | PASS | PASS | PASS | — |