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

Issue 143953014: Listen for input and change event to change color opacity value (Closed)

Created:
6 years, 11 months ago by Habib Virji
Modified:
6 years, 10 months ago
Reviewers:
tkent, pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Listen for input and change event to change color opacity value The issue does arise due to change for slide change event changes in https://codereview.chromium.org/125973004/. The issue is due to Spectrum.js is listening for change event and none gets fired after the above commit. As per spec (http://www.w3.org/TR/html5/forms.html#common-event-behaviors) for type range, input event should be firedi while dragging, while change event is fired when dragging is stopped. As values needs to be updated during drag, input event should also be listened. Spectrum.js is updated to listen for both input and change event to resolve above issue. R=tkent BUG=337801 TEST=NONE Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166026

Patch Set 1 #

Total comments: 1

Patch Set 2 : OnChange event removed relies only onInput event. #

Patch Set 3 : Reverted back to first patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M Source/devtools/front_end/Spectrum.js View 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Habib Virji
Listen for input and change event to change color opacity value The issue is due ...
6 years, 11 months ago (2014-01-24 18:10:37 UTC) #1
tkent
> TEST=NONE Why does this CL have no tests? https://codereview.chromium.org/143953014/diff/1/Source/devtools/front_end/Spectrum.js File Source/devtools/front_end/Spectrum.js (right): https://codereview.chromium.org/143953014/diff/1/Source/devtools/front_end/Spectrum.js#newcode60 Source/devtools/front_end/Spectrum.js:60: ...
6 years, 11 months ago (2014-01-27 01:20:41 UTC) #2
Habib Virji
There are no test for Spectrum.js. Please let me know if to add one for ...
6 years, 11 months ago (2014-01-27 18:51:32 UTC) #3
tkent
On 2014/01/27 18:51:32, habib.virji wrote: > There are no test for Spectrum.js. Please let me ...
6 years, 11 months ago (2014-01-28 01:28:20 UTC) #4
tkent
+pfeldman
6 years, 11 months ago (2014-01-28 01:28:42 UTC) #5
Habib Virji
On 2014/01/28 01:28:20, tkent wrote: > On 2014/01/27 18:51:32, habib.virji wrote: > > There are ...
6 years, 10 months ago (2014-01-28 08:14:13 UTC) #6
Habib Virji
On 2014/01/28 01:28:20, tkent wrote: > On 2014/01/27 18:51:32, habib.virji wrote: > > There are ...
6 years, 10 months ago (2014-01-28 17:55:33 UTC) #7
Habib Virji
Reverted back to old patch as CL 148763005, was not valid.
6 years, 10 months ago (2014-01-29 09:35:51 UTC) #8
Habib Virji
@pfeldman, can you please review the change
6 years, 10 months ago (2014-01-29 13:41:33 UTC) #9
pfeldman
lgtm
6 years, 10 months ago (2014-01-29 13:44:51 UTC) #10
Habib Virji
On 2014/01/29 13:44:51, pfeldman wrote: > lgtm Can you please commit and initiate try bot, ...
6 years, 10 months ago (2014-01-29 14:16:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/habib.virji@samsung.com/143953014/70001
6 years, 10 months ago (2014-01-29 14:22:18 UTC) #12
commit-bot: I haz the power
Change committed as 166026
6 years, 10 months ago (2014-01-29 16:13:02 UTC) #13
commit-bot: I haz the power
6 years, 10 months ago (2014-01-29 16:15:32 UTC) #14
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698