|
Selection API: setBaseAndExtent() and selectAllChildren() should create new Range based on the specified nodes.
* ConsoleViewport._textOffsetInNode():
It supported only Text node |container|. This CL adds Element support.
This CL removes the following tests because they are covered
by external/wpt/selection/:
- editing/selection/getRangeAt.html
- editing/selection/select_all/select_all_html.html
- editing/selection/set_base_and_extent/set_base_and_extent_html.html
This CL fixes 2056 sub-tests in external/wpt/selection/.
BUG= 692400
Review-Url: https://codereview.chromium.org/2695193002
Cr-Commit-Position: refs/heads/master@{#450876}
Committed: https://chromium.googlesource.com/chromium/src/+/de65c2b24fc750fd8aee253b2be3600bf1a6555b
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+123 lines, -6225 lines) |
Patch |
|
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/editing/pasteboard/smart-paste-008.html
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/editing/selection/dump-as-markup-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/editing/selection/focus-contenteditable-iframe-expected.txt
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/editing/selection/getRangeAt.html
|
View
|
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/editing/selection/getRangeAt-expected.txt
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/editing/selection/legal-positions.html
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/editing/selection/select_all/select_all_html.html
|
View
|
1
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/editing/selection/selection_remove_children.html
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/editing/selection/set_base_and_extent/crossing_editable_boundary.html
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/editing/selection/set_base_and_extent/set_base_and_extent_html.html
|
View
|
1
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/editing/undo/remove-css-property-and-remove-style-expected.txt
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/external/wpt/selection/selectAllChildren-expected.txt
|
View
|
|
1 chunk |
+0 lines, -3000 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/external/wpt/selection/setBaseAndExtent-expected.txt
|
View
|
|
2 chunks |
+52 lines, -97 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/text/pre-wrap-trailing-tab.html
|
View
|
1
|
2 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fast/text/pre-wrap-trailing-tab-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/platform/mac/fast/css/first-letter-rtc-crash-expected.txt
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/platform/win/external/wpt/selection/selectAllChildren-expected.txt
|
View
|
|
1 chunk |
+0 lines, -2996 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/DOMSelection.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
View
|
|
7 chunks |
+29 lines, -6 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/devtools/front_end/console/ConsoleViewport.js
|
View
|
1
|
1 chunk |
+9 lines, -1 line |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 41 (29 generated)
|