abcdef

Summary

Harness status: OK

Found 13 tests

Details

ResultTest NameMessage
Pass<span inert>a[bc</span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\">abc</span><span>def</span>", "<span inert=\"\">abc</span><span>def</span>", "execCommand(\"delete\") at <span inert>a[bc</span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:19:5)
Pass<span>a[bc</span><span inert>de]f</span>
Asserts run
Pass
assert_equals(true, true, "execCommand(\"delete\") at <span>a[bc</span><span inert>de]f</span>: <span inert> should not be deleted")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:31:5)
Pass
assert_equals("def", "def", "execCommand(\"delete\") at <span>a[bc</span><span inert>de]f</span>: <span inert> content should not be deleted")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:36:5)
Pass
assert_not_equals("<span>bc</span><span inert=\"\">def</span>", "<span>abc</span><span inert=\"\">def</span>", "execCommand(\"delete\") at <span>a[bc</span><span inert>de]f</span>: <span> content should be deleted (but how to handle it is not tested here)")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:41:5)
Pass<span inert>d[ef</span><span>ab]c</span>
Asserts run
Pass
assert_equals(true, true, "execCommand(\"delete\") at <span inert>d[ef</span><span>ab]c</span> (selection range direction is inverted): <span inert> should not be deleted")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:53:5)
Pass
assert_equals("def", "def", "execCommand(\"delete\") at <span inert>d[ef</span><span>ab]c</span> (selection range direction is inverted): <span inert> content should not be deleted")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:58:5)
Pass
assert_not_equals("<span inert=\"\">def</span><span>ac</span>", "<span inert=\"\">def</span><span>abc</span>", "execCommand(\"delete\") at <span inert>d[ef</span><span>ab]c</span> (selection range direction is inverted): <span> content should be deleted (but how to handle it is not tested here)")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:63:5)
Pass<span>d[ef</span><span inert>ab]c</span>
Asserts run
Pass
assert_equals("<span>def</span><span inert=\"\">abc</span>", "<span>def</span><span inert=\"\">abc</span>", "execCommand(\"delete\") at <span>d[ef</span><span inert>ab]c</span> (selection range direction is inverted): <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:75:5)
Passa[bc<span inert>XYZ</span>de]f
Asserts run
Pass
assert_equals("af", "af", "execCommand(\"delete\") at a[bc<span inert>XYZ</span>de]f: <span inert> should be deleted")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:86:5)
Pass<span inert style="display:contents">a[bc</span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\" style=\"display:contents\">abc</span><span>def</span>", "<span inert=\"\" style=\"display:contents\">abc</span><span>def</span>", "execCommand(\"delete\") at <span inert style=\"display:contents\">a[bc</span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:94:5)
Pass<span inert style="display:contents">{abc</span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\" style=\"display:contents\">abc</span><span>def</span>", "<span inert=\"\" style=\"display:contents\">abc</span><span>def</span>", "execCommand(\"delete\") at <span inert style=\"display:contents\">{abc</span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:106:5)
Pass<span inert><span style="display:contents">a[bc</span></span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\"><span style=\"display:contents\">abc</span></span><span>def</span>", "<span inert=\"\"><span style=\"display:contents\">abc</span></span><span>def</span>", "execCommand(\"delete\") at <span inert><span style=\"display:contents\">a[bc</span></span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:118:5)
Pass<span inert><span style="display:contents">{abc</span></span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\"><span style=\"display:contents\">abc</span></span><span>def</span>", "<span inert=\"\"><span style=\"display:contents\">abc</span></span><span>def</span>", "execCommand(\"delete\") at <span inert><span style=\"display:contents\">{abc</span></span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:130:5)
Pass<span inert style="display:none">a[bc</span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\" style=\"display:none\">abc</span><span>def</span>", "<span inert=\"\" style=\"display:none\">abc</span><span>def</span>", "execCommand(\"delete\") at <span inert style=\"display:none\">a[bc</span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:142:5)
Pass<span inert style="display:none">{abc</span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\" style=\"display:none\">abc</span><span>def</span>", "<span inert=\"\" style=\"display:none\">abc</span><span>def</span>", "execCommand(\"delete\") at <span inert style=\"display:none\">{abc</span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:154:5)
Pass<span inert><span style="display:none">a[bc</span></span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\"><span style=\"display:none\">abc</span></span><span>def</span>", "<span inert=\"\"><span style=\"display:none\">abc</span></span><span>def</span>", "execCommand(\"delete\") at <span inert><span style=\"display:none\">a[bc</span></span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:166:5)
Pass<span inert><span style="display:none">{abc</span></span><span>de]f</span>
Asserts run
Pass
assert_equals("<span inert=\"\"><span style=\"display:none\">abc</span></span><span>def</span>", "<span inert=\"\"><span style=\"display:none\">abc</span></span><span>def</span>", "execCommand(\"delete\") at <span inert><span style=\"display:none\">{abc</span></span><span>de]f</span>: <span> content should not be deleted because anchor node of Selection is in the <span inert>")
    at Test.<anonymous> ( /inert/inert-inlines-around-selection-range-in-contenteditable.html:178:5)