modify-around-non-editable-span.html
Details
- Test
/selection/contenteditable/modify-around-non-editable-span.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |
| FAIL | getSelection().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)"] |