49.2selection/contenteditable/

24 / 26 WPT subtests passing

Failed
2
Timed out
0
Not run
0
Test files
4
Blocking files
0

Chrome 23 / 26 WPT subtests passing on the same files, 1 blocking

Tests

4 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
cefalse-on-boundaries.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Selection can start on cE=false element at the beginning of the cE=true element
  2. Selection can end on cE=false element at the end of the cE=true element
  3. Selection can start and end on cE=false elements at the boundaries of cE=true element
  4. Range#selectNodeContents() correctly select contents of cE=true element with cE=false elements on boundaries
collapse.html1 / 3 passingChrome 0 / 32 failedWith failures
Standing
With failures runner status OK
Chrome
NONE-PASSED 0 / 3 WPT subtests passing runner status OK
  1. FAILSelection.collapse() must succeed for the ancestor
    assert_equals: expected Element node <div contenteditable="" id="host3">
      <div contenteditabl... but got Element node <div contenteditable="" id="host4"></div>
  2. FAILSelection.collapse() must succeed for the descendant
    assert_equals: expected Element node <div contenteditable="" id="host3">
      <div contenteditabl... but got Element node <button id="button"></button>
1 passing subtest
  1. Selection.collapse() must succeed across siblings
initial-selection-during-focus-event-propagation.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Selection should've already been initialized into the editing host when `focus` event is dispatched
  2. at the window
  3. at the editing host
modify-around-non-editable-span.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK
16 passing subtests
  1. getSelection().modify("move", "forward", "character") when " []<span contenteditable=false>"
  2. getSelection().modify("move", "forward", "character") when "editable[]<span contenteditable=false>"
  3. getSelection().modify("move", "right", "character") when " []<span contenteditable=false>"
  4. getSelection().modify("move", "right", "character") when "editable[]<span contenteditable=false>"
  5. getSelection().modify("move", "backward", "character") when " <span contenteditable=false>...</span>[]editable"
  6. getSelection().modify("move", "backward", "character") when "editable<span contenteditable=false>...</span>[] "
  7. getSelection().modify("move", "left", "character") when " <span contenteditable=false>...</span>[]editable"
  8. getSelection().modify("move", "left", "character") when "editable<span contenteditable=false>...</span>[] "
  9. getSelection().modify("move", "forward", "character") after getSelection().selectAllChildren(editingHost) when " []<span contenteditable=false>"
  10. getSelection().modify("move", "forward", "character") after getSelection().selectAllChildren(editingHost) when "editable[]<span contenteditable=false>"
  11. getSelection().modify("move", "right", "character") after getSelection().selectAllChildren(editingHost) when " []<span contenteditable=false>"
  12. getSelection().modify("move", "right", "character") after getSelection().selectAllChildren(editingHost) when "editable[]<span contenteditable=false>"
  13. getSelection().modify("move", "backward", "character") after getSelection().selectAllChildren(editingHost) when " <span contenteditable=false>...</span>[]editable"
  14. getSelection().modify("move", "backward", "character") after getSelection().selectAllChildren(editingHost) when "editable<span contenteditable=false>...</span>[] "
  15. getSelection().modify("move", "left", "character") after getSelection().selectAllChildren(editingHost) when " <span contenteditable=false>...</span>[]editable"
  16. getSelection().modify("move", "left", "character") after getSelection().selectAllChildren(editingHost) when "editable<span contenteditable=false>...</span>[] "

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.