modify-around-inline-element-boundary.tentative.html
Details
- Test
/selection/contenteditable/modify-around-inline-element-boundary.tentative.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| PASS | Selection.modify("move", "right", "character") when "ab[]c<span>def</span>" |
| PASS | Selection.modify("move", "right", "character") when "abc[]<span>def</span>" |
| PASS | Selection.modify("move", "right", "character") when "<b>ab[]c</b><i>def</i>" |
| PASS | Selection.modify("move", "right", "character") when "<b>abc[]</b><i>def</i>" |
| PASS | Selection.modify("move", "left", "character") when "abc<span>d[]ef</span>" |
| PASS | Selection.modify("move", "left", "character") when "abc<span>[]def</span>" |
| PASS | Selection.modify("move", "left", "character") when "<b>abc</b><i>d[]ef</i>" |
| PASS | Selection.modify("move", "left", "character") when "<b>abc</b><i>[]def</i>" |
| PASS | Selection.modify("move", "right", "character") when "abc[] <span>def</span>" |
| PASS | Selection.modify("move", "right", "character") when "abc[]<span> def</span>" |
| PASS | Selection.modify("move", "left", "character") when "abc <span>[]def</span>" |
| PASS | Selection.modify("move", "left", "character") when "abc<span> []def</span>" |
| PASS | Selection.modify("move", "right", "character") when "abc[] <span>def</span>" |
| PASS | Selection.modify("move", "right", "character") when "abc[] <span> def</span>" |
| PASS | Selection.modify("move", "right", "character") when "abc[]<span> def</span>" |
| PASS | Selection.modify("move", "right", "character") when "<span>abc[] </span>def" |
| PASS | Selection.modify("move", "right", "character") when "<span>abc[] </span> def" |
| PASS | Selection.modify("move", "right", "character") when "<span>abc[]</span> def" |
| FAIL | Selection.modify("move", "left", "character") when "abc <span>[]def</span>" assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \"abc \", 4)]" |
| FAIL | Selection.modify("move", "left", "character") when "abc <span> []def</span>" assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \" def\", 0)]" |
| FAIL | Selection.modify("move", "left", "character") when "abc<span> []def</span>" assert_equals: expected "[(#text \" def\", 0)]" but got "[(#text \" def\", 1)]" |
| FAIL | Selection.modify("move", "left", "character") when "<span>abc </span>[]def" assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \"abc \", 4)]" |
| FAIL | Selection.modify("move", "left", "character") when "<span>abc </span> []def" assert_equals: expected "[(#text \"abc \", 3)]" but got "[(#text \" def\", 0)]" |
| FAIL | Selection.modify("move", "left", "character") when "<span>abc</span> []def" assert_equals: expected "[(#text \" def\", 0)]" but got "[(#text \" def\", 1)]" |
| FAIL | Selection.modify("move", "right", "character") (2 times) when "abc[] <span>def</span>" assert_equals: expected "[(#text \"def\", 1)]" but got "[(#text \"abc \", 5)]" |
| FAIL | Selection.modify("move", "right", "character") (2 times) when "abc[] <span> def</span>" assert_equals: expected "[(#text \" def\", 2)]" but got "[(#text \" def\", 1)]" |
| FAIL | Selection.modify("move", "right", "character") (2 times) when "abc[]<span> def</span>" assert_equals: expected "[(#text \" def\", 3)]" but got "[(#text \" def\", 2)]" |
| FAIL | Selection.modify("move", "right", "character") (2 times) when "<span>abc[] </span>def" assert_equals: expected "[(#text \"def\", 1)]" but got "[(#text \"abc \", 5)]" |
| FAIL | Selection.modify("move", "right", "character") (2 times) when "<span>abc[] </span> def" assert_equals: expected "[(#text \" def\", 2)]" but got "[(#text \" def\", 1)]" |
| FAIL | Selection.modify("move", "right", "character") (2 times) when "<span>abc[]</span> def" assert_equals: expected "[(#text \" def\", 3)]" but got "[(#text \" def\", 2)]" |
| FAIL | Selection.modify("move", "left", "character") (2 times) when "abc <span>[]def</span>" assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]" |
| FAIL | Selection.modify("move", "left", "character") (2 times) when "abc <span> []def</span>" assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]" |
| FAIL | Selection.modify("move", "left", "character") (2 times) when "abc<span> []def</span>" assert_equals: expected "[(#text \"abc\", 2)]" but got "[(#text \" def\", 0)]" |
| FAIL | Selection.modify("move", "left", "character") (2 times) when "<span>abc </span>[]def" assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]" |
| FAIL | Selection.modify("move", "left", "character") (2 times) when "<span>abc </span> []def" assert_equals: expected "[(#text \"abc \", 2)]" but got "[(#text \"abc \", 3)]" |
| FAIL | Selection.modify("move", "left", "character") (2 times) when "<span>abc</span> []def" assert_equals: expected "[(#text \"abc\", 2)]" but got "[(#text \" def\", 0)]" |