Click here to download the Blitz Browser!

WPT

wpt / dom / ranges / Range-extractContents-around-shadow.html

Spec: DOM ↗

Runs: Chrome 155.0.8042.0 (wpt@55ce71bb9, 2026-09-04) | Firefox 157.0a1 (wpt@5c0dc39b9, 2026-09-04) | Safari 251 preview (wpt@0588f3896, 2026-09-04) | Ladybird 1.0-54a40 (wpt@972e0e100, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total44/4444/4444/4444/4444/44NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>UnassignedText</span>}</div>"PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>UnassignedText</span>}</div>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>UnassignedText</span>}</div>": range.extractContents() should delete a part of the text and the unassigned <span>PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>UnassignedText</span>}</div>": range.extractContents() should clone a part of the text and the unassigned <span>PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>UnassignedText</span>}</div>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned]Text</span></div>"PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned]Text</span></div>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned]Text</span></div>": range.extractContents() should delete a part of the text and a part of the unassigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned]Text</span></div>": range.extractContents() should clone a part of the text and a part of the unassigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned]Text</span></div>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>{UnassignedText}</span></div>"PASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>{UnassignedText}</span></div>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>{UnassignedText}</span></div>": range.extractContents() should delete the unassigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>{UnassignedText}</span></div>": range.extractContents() should clone the unassigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root>{<span>UnassignedText</span></div><p>abc]def</p>"PASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root>{<span>UnassignedText</span></div><p>abc]def</p>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root>{<span>UnassignedText</span></div><p>abc]def</p>": range.extractContents() should delete the unassigned text and a part of the textPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root>{<span>UnassignedText</span></div><p>abc]def</p>": range.extractContents() should clone the unassigned <span> and a part of the textPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root>{<span>UnassignedText</span></div><p>abc]def</p>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned[Text</span></div><p>abc]def</p>"PASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned[Text</span></div><p>abc]def</p>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned[Text</span></div><p>abc]def</p>": range.extractContents() should delete a part of the unassigned text and a part of the textPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned[Text</span></div><p>abc]def</p>": range.extractContents() should clone a part of unassigned text and a part of the textPASSPASSPASSPASSPASS
Range.extractContents() when "<div><shadow-root><span>InnerText</span></shadow-root><span>Unassigned[Text</span></div><p>abc]def</p>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root></slot><span>InnerText</span></shadow-root><slot><span>Assigned]Text</span></div>"PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root></slot><span>InnerText</span></shadow-root><slot><span>Assigned]Text</span></div>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root></slot><span>InnerText</span></shadow-root><slot><span>Assigned]Text</span></div>": range.extractContents() should delete a part of the text and a part of the assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root></slot><span>InnerText</span></shadow-root><slot><span>Assigned]Text</span></div>": range.extractContents() should clone a part of the text and a part of assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root></slot><span>InnerText</span></shadow-root><slot><span>Assigned]Text</span></div>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot></slot></shadow-root><span>Assigned]Text</span></div>"PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot></slot></shadow-root><span>Assigned]Text</span></div>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot></slot></shadow-root><span>Assigned]Text</span></div>": range.extractContents() should delete a part of the text and a part of the assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot></slot></shadow-root><span>Assigned]Text</span></div>": range.extractContents() should clone a part of the text and a part of assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot></slot></shadow-root><span>Assigned]Text</span></div>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>Assigned]Text</span><span>UnassignedText</span></div>"PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>Assigned]Text</span><span>UnassignedText</span></div>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>Assigned]Text</span><span>UnassignedText</span></div>": range.extractContents() should delete a part of the text and a part of the assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>Assigned]Text</span><span>UnassignedText</span></div>": range.extractContents() should clone a part of the text and a part of assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>Assigned]Text</span><span>UnassignedText</span></div>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>UnassignedText</span><span>Assigned]Text</span></div>"PASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>UnassignedText</span><span>Assigned]Text</span></div>": range.extractContents() shouldn't delete the content in the shadowPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>UnassignedText</span><span>Assigned]Text</span></div>": range.extractContents() should delete a part of the text, the unassigned <span> and a part of the assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>UnassignedText</span><span>Assigned]Text</span></div>": range.extractContents() should clone a part of the text, the unassigned <span> and a part of assigned textPASSPASSPASSPASSPASS
Range.extractContents() when "<p>abc[def</p><div><shadow-root><span>InnerText</span><slot name="assigned"></slot></shadow-root><span>UnassignedText</span><span>Assigned]Text</span></div>": range.extractContents() shouldn't clone the host with the shadowPASSPASSPASSPASSPASS