preceding text

preceding editable textfollowing editable text

following text

Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
PassexecCommand('selectAll') should select all content in the editing host
Asserts run
Pass
assert_false(false, "Selection should not be collapsed after calling document.execCommand(\"selectAll\")")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:16:5)
Pass
assert_false(false, "Selection should not contain the preceding text of the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:21:5)
Pass
assert_true(true, "Selection should contain the editable text in the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:25:5)
Pass
assert_false(false, "Selection should not contain the following text of the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:29:5)
FailexecCommand('selectAll') should select all content in the editing host when it has focus but no selection rangeassert_false: Selection should not contain the preceding text of the editing host expected false got true
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/editing/other/selectall-in-editinghost.html:45:5)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at test (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:633:30)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/editing/other/selectall-in-editinghost.html:36:3
Asserts run
Pass
assert_false(false, "Selection should not be collapsed after calling document.execCommand(\"selectAll\")")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:40:5)
Fail
assert_false(true, "Selection should not contain the preceding text of the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:45:5)
PassexecCommand('selectAll') should select all content in the editing host when selection collapsed in the <input>
Asserts run
Pass
assert_false(false, "Selection should not be collapsed after calling document.execCommand(\"selectAll\")")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:65:5)
Pass
assert_false(false, "Selection should not contain the preceding text of the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:70:5)
Pass
assert_true(true, "Selection should contain the preceding editable text of <input> in the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:74:5)
Pass
assert_true(true, "Selection should contain the following editable text of <input> in the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:78:5)
Pass
assert_false(false, "Selection should not contain the following text of the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:82:5)
PassexecCommand('selectAll') should select all content in the editing host when selection collapsed in the <textarea>
Asserts run
Pass
assert_false(false, "Selection should not be collapsed after calling document.execCommand(\"selectAll\")")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:94:5)
Pass
assert_false(false, "Selection should not contain the preceding text of the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:99:5)
Pass
assert_true(true, "Selection should contain the preceding editable text of <textarea> in the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:103:5)
Pass
assert_true(true, "Selection should contain the following editable text of <textarea> in the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:107:5)
Pass
assert_false(false, "Selection should not contain the following text of the editing host")
    at Test.<anonymous> ( /editing/other/selectall-in-editinghost.html:111:5)