WPT
wpt / editing / other / insertparagraph-in-child-of-html.tentative.html?designMode=on&white-space=pre-wrap
Spec: https://w3c.github.io/editing/execCommand.html ↗
Runs: Chrome 155.0.8039.0 (wpt@a4fcd77aa, 2026-09-03) | Firefox 157.0a1 (wpt@cc4d45aa0, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@47d833bbc, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 5/9 | 0/9 | 6/9 | 9/9 | 0/9 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| insertParagraph in empty <div style="white-space:pre-wrap"> after <body> should split the <div> | FAIL | FAIL | FAIL | PASS | FAIL | — |
| insertParagraph in <div style="white-space:pre-wrap"> (containing only a <br>) after <body> should split the <div> | PASS | FAIL | PASS | PASS | FAIL | — |
| insertParagraph in <div style="white-space:pre-wrap"> (containing text) after <body> should not create another <div> element | PASS | FAIL | PASS | PASS | FAIL | — |
| insertParagraph in empty <div style="white-space:pre-wrap"> before <body> should split the <div> | FAIL | FAIL | FAIL | PASS | FAIL | — |
| insertParagraph in <div style="white-space:pre-wrap"> (containing only a <br>) before <body> should split the <div> | PASS | FAIL | PASS | PASS | FAIL | — |
| insertParagraph in <div style="white-space:pre-wrap"> (containing text) before <body> should split the <div> | FAIL | FAIL | PASS | PASS | FAIL | — |
| insertParagraph in empty <div style="white-space:pre-wrap"> before <head> should split the <div> | FAIL | FAIL | FAIL | PASS | FAIL | — |
| insertParagraph in <div style="white-space:pre-wrap"> (containing only a <br>) before <head> should split the <div> | PASS | FAIL | PASS | PASS | FAIL | — |
| insertParagraph in <div style="white-space:pre-wrap"> (containing text) before <head> should split the <div> | PASS | FAIL | PASS | PASS | FAIL | — |