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

Issue 1071873004: Changing slider values do not work properly when percent change of a step is less than one. (Closed)

Created:
5 years, 8 months ago by k.czech
Modified:
5 years, 8 months ago
Reviewers:
dmazzoni
CC:
blink-reviews, nektarios, je_julie(Not used), aboxhall
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Changing slider values do not work properly when percent change of a step is less than one. Upgrade incrementing and decrementing of slider values. Change a way of getting a step size. We could call a createStepRange to get the current step if it's explicitly defined if not, default step will be calculated instead of a five percent change. BUG=475053 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193722

Patch Set 1 #

Total comments: 1

Patch Set 2 : Make some cleanup #

Total comments: 1

Patch Set 3 : Applied suggestions #

Patch Set 4 : Just did some cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -40 lines) Patch
A LayoutTests/accessibility/input-type-range-value-change.html View 1 2 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/accessibility/input-type-range-value-change-expected.txt View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M Source/modules/accessibility/AXNodeObject.h View 1 2 3 3 chunks +1 line, -2 lines 0 comments Download
M Source/modules/accessibility/AXNodeObject.cpp View 1 2 3 7 chunks +28 lines, -38 lines 0 comments Download
M Source/modules/accessibility/AXObject.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
k.czech
5 years, 8 months ago (2015-04-09 15:05:14 UTC) #2
dmazzoni
https://codereview.chromium.org/1071873004/diff/1/Source/modules/accessibility/AXNodeObject.cpp File Source/modules/accessibility/AXNodeObject.cpp (left): https://codereview.chromium.org/1071873004/diff/1/Source/modules/accessibility/AXNodeObject.cpp#oldcode2085 Source/modules/accessibility/AXNodeObject.cpp:2085: value += range * (percentChange / 100); i'm not ...
5 years, 8 months ago (2015-04-09 15:11:24 UTC) #3
k.czech
On 2015/04/09 15:11:24, dmazzoni wrote: > https://codereview.chromium.org/1071873004/diff/1/Source/modules/accessibility/AXNodeObject.cpp > File Source/modules/accessibility/AXNodeObject.cpp (left): > > https://codereview.chromium.org/1071873004/diff/1/Source/modules/accessibility/AXNodeObject.cpp#oldcode2085 > ...
5 years, 8 months ago (2015-04-09 22:36:30 UTC) #4
dmazzoni
Aha! I figured out the issue - it's not that slider values are rounded to ...
5 years, 8 months ago (2015-04-10 06:34:22 UTC) #5
k.czech
On 2015/04/10 06:34:22, dmazzoni wrote: > Aha! I figured out the issue - it's not ...
5 years, 8 months ago (2015-04-10 13:28:06 UTC) #6
dmazzoni
This is better, but I think it'd be best if we didn't have to assume ...
5 years, 8 months ago (2015-04-10 17:14:29 UTC) #7
k.czech
On 2015/04/10 17:14:29, dmazzoni wrote: > This is better, but I think it'd be best ...
5 years, 8 months ago (2015-04-13 11:57:47 UTC) #8
dmazzoni
On 2015/04/13 11:57:47, k.czech wrote: > On 2015/04/10 17:14:29, dmazzoni wrote: > > This is ...
5 years, 8 months ago (2015-04-14 15:52:45 UTC) #9
dmazzoni
lgtm
5 years, 8 months ago (2015-04-14 15:54:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1071873004/60001
5 years, 8 months ago (2015-04-14 15:54:50 UTC) #12
commit-bot: I haz the power
5 years, 8 months ago (2015-04-14 18:35:19 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=193722

Powered by Google App Engine
This is Rietveld 408576698