;
        selection.addRange(range);
        document.execCommand("delete");
        const expectedHTML = "<span contenteditable=\"true\"></span>";
        assert_not_equals(element.firstChild && element.firstChild.tagName, "BR", "First child is not a <br> tag");
        assert_equals(element.outerHTML, expectedHTML, "HTML content matches the expected structure after delete");
    }, "BR tag is not inserted after deleting the text node content since root editable element is inline");
</script>