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

Issue 2963113002: Introduce Selection#compute{Left,Top} in assert_selection() (Closed)

Created:
3 years, 5 months ago by yosin_UTC9
Modified:
3 years, 5 months ago
Reviewers:
yoichio, Xiaocheng
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce Selection#compute{Left,Top} in assert_selection() This patch Introduces |selection#compute{Left,Top}| in |assert_selection()| to provide left and top position for mouse click testing. This patch is a preparation of the patch[1]. [1] http://crrev.com/2966473002: Convert editing/selection/shift-click.html to use assert_selection() BUG=679977 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2963113002 Cr-Commit-Position: refs/heads/master@{#483929} Committed: https://chromium.googlesource.com/chromium/src/+/34addba369d69ea62337a995e89328c0cca05665

Patch Set 1 : 2017-06-29T15:20:58 #

Total comments: 2

Patch Set 2 : 2017-06-29T17:38:54 #

Total comments: 2

Patch Set 3 : 2017-06-30T17:20:04 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -0 lines) Patch
M third_party/WebKit/LayoutTests/editing/assert_selection.html View 1 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/editing/assert_selection.js View 1 2 3 chunks +28 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (27 generated)
yosin_UTC9
PTAL win_chromimum_rel_ng bot failure doesn't relate tot this patch. It is compilation error...
3 years, 5 months ago (2017-06-29 07:31:10 UTC) #17
yoichio
https://codereview.chromium.org/2963113002/diff/60001/third_party/WebKit/LayoutTests/editing/assert_selection.html File third_party/WebKit/LayoutTests/editing/assert_selection.html (right): https://codereview.chromium.org/2963113002/diff/60001/third_party/WebKit/LayoutTests/editing/assert_selection.html#newcode367 third_party/WebKit/LayoutTests/editing/assert_selection.html:367: '<div id="first">one <span id="start"></span>two three</div>', We miss cursors in ...
3 years, 5 months ago (2017-06-29 08:09:36 UTC) #18
yosin_UTC9
PTAL Updated expectation and fix offsets. https://codereview.chromium.org/2963113002/diff/60001/third_party/WebKit/LayoutTests/editing/assert_selection.html File third_party/WebKit/LayoutTests/editing/assert_selection.html (right): https://codereview.chromium.org/2963113002/diff/60001/third_party/WebKit/LayoutTests/editing/assert_selection.html#newcode367 third_party/WebKit/LayoutTests/editing/assert_selection.html:367: '<div id="first">one <span ...
3 years, 5 months ago (2017-06-29 09:06:19 UTC) #21
yoichio
https://codereview.chromium.org/2963113002/diff/80001/third_party/WebKit/LayoutTests/editing/assert_selection.js File third_party/WebKit/LayoutTests/editing/assert_selection.js (right): https://codereview.chromium.org/2963113002/diff/80001/third_party/WebKit/LayoutTests/editing/assert_selection.js#newcode63 third_party/WebKit/LayoutTests/editing/assert_selection.js:63: // Offset adjustment for mouse clicking used in |compute{Left,Top}()|. ...
3 years, 5 months ago (2017-06-30 01:45:59 UTC) #24
yosin_UTC9
PTAL Changed to explain about constant value. It is border-size of IFRAME. https://codereview.chromium.org/2963113002/diff/80001/third_party/WebKit/LayoutTests/editing/assert_selection.js File third_party/WebKit/LayoutTests/editing/assert_selection.js ...
3 years, 5 months ago (2017-06-30 08:21:50 UTC) #25
yoichio
lgtm
3 years, 5 months ago (2017-07-03 01:50:42 UTC) #30
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/2963113002/100001
3 years, 5 months ago (2017-07-03 01:58:17 UTC) #32
commit-bot: I haz the power
3 years, 5 months ago (2017-07-03 03:15:51 UTC) #35
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/34addba369d69ea62337a995e893...

Powered by Google App Engine
This is Rietveld 408576698