modify-around-non-editable-span.html

FAILExpected0 of 16 subtests pass355 ms

Details

Test
/selection/contenteditable/modify-around-non-editable-span.html
Harness
OK

Subtests

StatusSubtestMessage
FAILgetSelection().modify("move", "forward", "character") when " []<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
FAILgetSelection().modify("move", "forward", "character") when "editable[]<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
FAILgetSelection().modify("move", "right", "character") when " []<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
FAILgetSelection().modify("move", "right", "character") when "editable[]<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
FAILgetSelection().modify("move", "backward", "character") when " <span contenteditable=false>...</span>[]editable"
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
FAILgetSelection().modify("move", "backward", "character") when "editable<span contenteditable=false>...</span>[] "
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]
FAILgetSelection().modify("move", "left", "character") when " <span contenteditable=false>...</span>[]editable"
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
FAILgetSelection().modify("move", "left", "character") when "editable<span contenteditable=false>...</span>[] "
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]
FAILgetSelection().modify("move", "forward", "character") after getSelection().selectAllChildren(editingHost) when " []<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
FAILgetSelection().modify("move", "forward", "character") after getSelection().selectAllChildren(editingHost) when "editable[]<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
FAILgetSelection().modify("move", "right", "character") after getSelection().selectAllChildren(editingHost) when " []<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 2)", "(#text \"editable\", 0)"]
FAILgetSelection().modify("move", "right", "character") after getSelection().selectAllChildren(editingHost) when "editable[]<span contenteditable=false>"
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
assert_in_array: value "(#text \"non-editable\", 1)" not in array ["(<div contenteditable=\"\">, 4)", "(#text \" \", 0)", "(<div contenteditable=\"\">, 5)", "(#text \" \", 1)"]
FAILgetSelection().modify("move", "backward", "character") after getSelection().selectAllChildren(editingHost) when " <span contenteditable=false>...</span>[]editable"
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
FAILgetSelection().modify("move", "backward", "character") after getSelection().selectAllChildren(editingHost) when "editable<span contenteditable=false>...</span>[] "
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]
FAILgetSelection().modify("move", "left", "character") after getSelection().selectAllChildren(editingHost) when " <span contenteditable=false>...</span>[]editable"
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 1)", "(#text \" \", 1)", "(<div contenteditable=\"\">, 0)", "(#text \" \", 0)"]
FAILgetSelection().modify("move", "left", "character") after getSelection().selectAllChildren(editingHost) when "editable<span contenteditable=false>...</span>[] "
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]
assert_in_array: value "(#text \"non-editable\", 11)" not in array ["(<div contenteditable=\"\">, 3)", "(#text \"editable\", 8)"]