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

Issue 1108033002: Fix "mouse" position selection in svg/text/resources/SelectionTestCase.js (Closed)

Created:
5 years, 8 months ago by fs
Modified:
5 years, 7 months ago
Reviewers:
pdr., hyunjunekim2
CC:
blink-reviews
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Fix "mouse" position selection in svg/text/resources/SelectionTestCase.js eventSender.mouseMoveTo(...) truncates the coordinates it is passed, so fractional coordinates could end being adjust by almost an entire pixel, which could yield incorrect results. Round the end-points such that they should reside within the intended selection area. BUG=477545 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194604

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M LayoutTests/svg/text/resources/SelectionTestCase.js View 1 chunk +5 lines, -0 lines 2 comments Download

Messages

Total messages: 12 (3 generated)
fs
Maybe with this we can make progress in that other review...
5 years, 8 months ago (2015-04-27 19:00:01 UTC) #2
pdr.
LGTM
5 years, 8 months ago (2015-04-27 20:01:38 UTC) #3
hyunjunekim2
https://codereview.chromium.org/1108033002/diff/1/LayoutTests/svg/text/resources/SelectionTestCase.js File LayoutTests/svg/text/resources/SelectionTestCase.js (right): https://codereview.chromium.org/1108033002/diff/1/LayoutTests/svg/text/resources/SelectionTestCase.js#newcode74 LayoutTests/svg/text/resources/SelectionTestCase.js:74: absStartPos.x = Math.ceil(absStartPos.x); Could you change like this? absStartPos.x ...
5 years, 7 months ago (2015-04-28 02:22:07 UTC) #5
pdr.
https://codereview.chromium.org/1108033002/diff/1/LayoutTests/svg/text/resources/SelectionTestCase.js File LayoutTests/svg/text/resources/SelectionTestCase.js (right): https://codereview.chromium.org/1108033002/diff/1/LayoutTests/svg/text/resources/SelectionTestCase.js#newcode74 LayoutTests/svg/text/resources/SelectionTestCase.js:74: absStartPos.x = Math.ceil(absStartPos.x); On 2015/04/28 at 02:22:07, hyunjunekim2 wrote: ...
5 years, 7 months ago (2015-04-28 03:08:39 UTC) #6
hyunjunekim2
On 2015/04/28 03:08:39, pdr wrote: > https://codereview.chromium.org/1108033002/diff/1/LayoutTests/svg/text/resources/SelectionTestCase.js > File LayoutTests/svg/text/resources/SelectionTestCase.js (right): > > https://codereview.chromium.org/1108033002/diff/1/LayoutTests/svg/text/resources/SelectionTestCase.js#newcode74 > ...
5 years, 7 months ago (2015-04-28 05:31:41 UTC) #7
pdr.
On 2015/04/28 at 05:31:41, hyunjune.kim wrote: > On 2015/04/28 03:08:39, pdr wrote: > > https://codereview.chromium.org/1108033002/diff/1/LayoutTests/svg/text/resources/SelectionTestCase.js ...
5 years, 7 months ago (2015-04-28 05:34:35 UTC) #8
hyunjunekim2
On 2015/04/28 05:34:35, pdr wrote: > On 2015/04/28 at 05:31:41, hyunjune.kim wrote: > > On ...
5 years, 7 months ago (2015-04-28 05:37:55 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108033002/1
5 years, 7 months ago (2015-04-28 14:34:14 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 14:37:33 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194604

Powered by Google App Engine
This is Rietveld 408576698