modify-around-inline-element-boundary.tentative.html

FAILExpected18 of 36 subtests pass413 ms

Details

Test
/selection/contenteditable/modify-around-inline-element-boundary.tentative.html
Harness
OK

Subtests

StatusSubtestMessage
PASSSelection.modify("move", "right", "character") when "ab[]c<span>def</span>"
PASSSelection.modify("move", "right", "character") when "abc[]<span>def</span>"
PASSSelection.modify("move", "right", "character") when "<b>ab[]c</b><i>def</i>"
PASSSelection.modify("move", "right", "character") when "<b>abc[]</b><i>def</i>"
PASSSelection.modify("move", "left", "character") when "abc<span>d[]ef</span>"
PASSSelection.modify("move", "left", "character") when "abc<span>[]def</span>"
PASSSelection.modify("move", "left", "character") when "<b>abc</b><i>d[]ef</i>"
PASSSelection.modify("move", "left", "character") when "<b>abc</b><i>[]def</i>"
PASSSelection.modify("move", "right", "character") when "abc[] <span>def</span>"
PASSSelection.modify("move", "right", "character") when "abc[]<span> def</span>"
PASSSelection.modify("move", "left", "character") when "abc <span>[]def</span>"
PASSSelection.modify("move", "left", "character") when "abc<span> []def</span>"
PASSSelection.modify("move", "right", "character") when "abc[] <span>def</span>"
PASSSelection.modify("move", "right", "character") when "abc[] <span> def</span>"
PASSSelection.modify("move", "right", "character") when "abc[]<span> def</span>"
PASSSelection.modify("move", "right", "character") when "<span>abc[] </span>def"
PASSSelection.modify("move", "right", "character") when "<span>abc[] </span> def"
PASSSelection.modify("move", "right", "character") when "<span>abc[]</span> def"
FAILSelection.modify("move", "left", "character") when "abc <span>[]def</span>"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \"abc \", 4)]"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \"abc \", 4)]"
FAILSelection.modify("move", "left", "character") when "abc <span> []def</span>"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \" def\", 0)]"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \" def\", 0)]"
FAILSelection.modify("move", "left", "character") when "abc<span> []def</span>"
assert_equals: expected "[(#text \" def\", 0)]" but got "[(#text \" def\", 1)]"
assert_equals: expected "[(#text \" def\", 0)]" but got "[(#text \" def\", 1)]"
FAILSelection.modify("move", "left", "character") when "<span>abc </span>[]def"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \"abc \", 4)]"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \"abc \", 4)]"
FAILSelection.modify("move", "left", "character") when "<span>abc </span> []def"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \" def\", 0)]"
assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \" def\", 0)]"
FAILSelection.modify("move", "left", "character") when "<span>abc</span> []def"
assert_equals: expected "[(#text \" def\", 0)]" but got "[(#text \" def\", 1)]"
assert_equals: expected "[(#text \" def\", 0)]" but got "[(#text \" def\", 1)]"
FAILSelection.modify("move", "right", "character") (2 times) when "abc[] <span>def</span>"
assert_equals: expected "[(#text \"def\", 1)]" but got "[(#text \"abc \", 5)]"
assert_equals: expected "[(#text \"def\", 1)]" but got "[(#text \"abc \", 5)]"
FAILSelection.modify("move", "right", "character") (2 times) when "abc[] <span> def</span>"
assert_equals: expected "[(#text \" def\", 2)]" but got "[(#text \" def\", 1)]"
assert_equals: expected "[(#text \" def\", 2)]" but got "[(#text \" def\", 1)]"
FAILSelection.modify("move", "right", "character") (2 times) when "abc[]<span> def</span>"
assert_equals: expected "[(#text \" def\", 3)]" but got "[(#text \" def\", 2)]"
assert_equals: expected "[(#text \" def\", 3)]" but got "[(#text \" def\", 2)]"
FAILSelection.modify("move", "right", "character") (2 times) when "<span>abc[] </span>def"
assert_equals: expected "[(#text \"def\", 1)]" but got "[(#text \"abc \", 5)]"
assert_equals: expected "[(#text \"def\", 1)]" but got "[(#text \"abc \", 5)]"
FAILSelection.modify("move", "right", "character") (2 times) when "<span>abc[] </span> def"
assert_equals: expected "[(#text \" def\", 2)]" but got "[(#text \" def\", 1)]"
assert_equals: expected "[(#text \" def\", 2)]" but got "[(#text \" def\", 1)]"
FAILSelection.modify("move", "right", "character") (2 times) when "<span>abc[]</span> def"
assert_equals: expected "[(#text \" def\", 3)]" but got "[(#text \" def\", 2)]"
assert_equals: expected "[(#text \" def\", 3)]" but got "[(#text \" def\", 2)]"
FAILSelection.modify("move", "left", "character") (2 times) when "abc <span>[]def</span>"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
FAILSelection.modify("move", "left", "character") (2 times) when "abc <span> []def</span>"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
FAILSelection.modify("move", "left", "character") (2 times) when "abc<span> []def</span>"
assert_equals: expected "[(#text \"abc\", 2)]" but got "[(#text \" def\", 0)]"
assert_equals: expected "[(#text \"abc\", 2)]" but got "[(#text \" def\", 0)]"
FAILSelection.modify("move", "left", "character") (2 times) when "<span>abc </span>[]def"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
FAILSelection.modify("move", "left", "character") (2 times) when "<span>abc </span> []def"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]"
FAILSelection.modify("move", "left", "character") (2 times) when "<span>abc</span> []def"
assert_equals: expected "[(#text \"abc\", 2)]" but got "[(#text \" def\", 0)]"
assert_equals: expected "[(#text \"abc\", 2)]" but got "[(#text \" def\", 0)]"