Selection API: extend() should operate DOM Ranges

Desktop / Chromium - tkent [chromium.org] - 16 February 2017 09:55 EST

This CL fixes 1,856 tests in external/wpt/selection/.

BUG=692400

Review-Url: https://codereview.chromium.org/2704443002 Cr-Commit-Position: refs/heads/master@{#450962}

4d81e25 Selection API: extend() should operate DOM Ranges.
.../LayoutTests/editing/assert_selection.html | 8 +-
.../execCommand/crash-indenting-list-item.html | 2 +-
.../format-block-multiple-paragraphs-in-pre.html | 6 +-
.../format-block-multiple-paragraphs.html | 4 +-
.../editing/selection/character-data-mutation.html | 8 +-
.../editing/selection/document-mutation.html | 2 +-
.../external/wpt/selection/extend-00-expected.txt | 4129 ++++++----------
.../external/wpt/selection/extend-20-expected.txt | 4952 +++++++-------------
.../external/wpt/selection/extend-40-expected.txt | 234 +-
.../fast/dynamic/move-node-with-selection.html | 4 +-
.../WebKit/Source/core/editing/DOMSelection.cpp | 66 +-
.../WebKit/Source/core/editing/DOMSelection.h | 1 +
12 files changed, 3392 insertions(+), 6024 deletions(-)

Upstream: git.chromium.org


  • Share