can't edit
can't edit

can't edit
can't edit

Summary

Harness status: OK

Found 3 tests

Details

ResultTest NameMessage
PassBR tag is inserted after deleting the text node present before non editable child element
Asserts run
Pass
assert_equals("BR", "BR", "First child is a <br> tag")
    at Test.<anonymous> ( /editing/other/insert-br-tag-on-text-node-removal-with-non-editable-elements.html:21:9)
Pass
assert_equals("<br><div contenteditable=\"false\">can't edit</div>", "<br><div contenteditable=\"false\">can't edit</div>", "HTML content matches the expected structure after delete")
    at Test.<anonymous> ( /editing/other/insert-br-tag-on-text-node-removal-with-non-editable-elements.html:22:9)
PassBR tag is inserted after deleting the text node present between two non editable child elements
Asserts run
Pass
assert_equals("<div contenteditable=\"false\">can't edit</div><br><div contenteditable=\"false\">can't edit</div>", "<div contenteditable=\"false\">can't edit</div><br><div contenteditable=\"false\">can't edit</div>", "HTML content matches the expected structure after delete")
    at Test.<anonymous> ( /editing/other/insert-br-tag-on-text-node-removal-with-non-editable-elements.html:36:9)
PassBR tag is inserted after deleting the text node present after non editable child element
Asserts run
Pass
assert_equals("<div contenteditable=\"false\">can't edit</div><br>", "<div contenteditable=\"false\">can't edit</div><br>", "HTML content matches the expected structure after delete")
    at Test.<anonymous> ( /editing/other/insert-br-tag-on-text-node-removal-with-non-editable-elements.html:50:9)