Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Issue 2694043004: Selection API: anchorNode, anchorOffset, focusNode, focusOffset, isCollapsed, and type should be ba… (Closed)

Created:
3 years, 10 months ago by tkent
Modified:
3 years, 10 months ago
Reviewers:
yoichio, yosin_UTC9
CC:
blink-reviews, blink-reviews-w3ctests_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Selection API: anchorNode, anchorOffset, focusNode, focusOffset, isCollapsed, and type should be based on a registered Range. We computed them with normalized selection, a.k.a. VisibleSelection. This CL improves external/wpt/selection/isCollapsed.html. Total new PASS: 116 Total new FAIL: 77 Following CLs will resolve FAILs which this CL introduces. BUG=691887 Review-Url: https://codereview.chromium.org/2694043004 Cr-Commit-Position: refs/heads/master@{#450266} Committed: https://chromium.googlesource.com/chromium/src/+/94fcc3a62bdcbf2c1342612702b00dae8359ebcc

Patch Set 1 : . #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+5204 lines, -4457 lines) Patch
M third_party/WebKit/LayoutTests/SlowTests View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/editing/deleting/delete-br-001.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/deleting/delete-br-001-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/deleting/delete-character-003.html View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/deleting/delete-character-003-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/deleting/forward-delete-empty-table-cell-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/collapse-00-expected.txt View 53 chunks +1136 lines, -799 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/collapse-30-expected.txt View 29 chunks +383 lines, -426 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/collapseToStartEnd-expected.txt View 5 chunks +22 lines, -41 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/extend-00-expected.txt View 69 chunks +1250 lines, -876 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/extend-20-expected.txt View 82 chunks +1284 lines, -1154 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/extend-40-expected.txt View 1 chunk +66 lines, -90 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/isCollapsed-expected.txt View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/removeAllRanges-expected.txt View 1 chunk +88 lines, -88 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/selection/selectAllChildren-expected.txt View 20 chunks +896 lines, -924 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html View 2 chunks +2 lines, -2 lines 1 comment Download
M third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure-expected.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/DOMSelection.h View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/editing/DOMSelection.cpp View 4 chunks +46 lines, -31 lines 2 comments Download
M third_party/WebKit/Source/core/editing/VisibleSelection.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (13 generated)
tkent
yosin@, or yoichio@, would you review this please?
3 years, 10 months ago (2017-02-14 04:02:04 UTC) #10
yosin_UTC9
lgtm https://codereview.chromium.org/2694043004/diff/10001/third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html File third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html (right): https://codereview.chromium.org/2694043004/diff/10001/third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html#newcode53 third_party/WebKit/LayoutTests/fast/forms/shadow-tree-exposure.html:53: shouldBe("getSelection().type", "'Caret'"); Nice, finally, we get correct value ...
3 years, 10 months ago (2017-02-14 04:52:21 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2694043004/10001
3 years, 10 months ago (2017-02-14 04:52:44 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 05:30:46 UTC) #17
Message was sent while issue was closed.
Committed patchset #1 (id:10001) as
https://chromium.googlesource.com/chromium/src/+/94fcc3a62bdcbf2c1342612702b0...

Powered by Google App Engine
This is Rietveld 408576698