Source code

Revision control

Copy as Markdown

Other Tools

[Selection-deleteFromDocument-around-shadow.html]
[Selection.deleteFromDocument() when "<p>abc[def</p><div><shadow-root><span>InnerText</span></shadow-root><span>UnassignedText</span>}</div>": getSelection().deleteFromDocument() should delete a part of the text and the unassigned <span>]
expected: FAIL
[Selection.deleteFromDocument() when "<div><shadow-root><span>InnerText</span></shadow-root>{<span>UnassignedText</span></div><p>abc\]def</p>": getSelection().deleteFromDocument() should delete the unassigned text and a part of the text]
expected: FAIL