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

Issue 1188763002: Click event should be fired before change events for checkbox and radio button. (Closed)

Created:
5 years, 6 months ago by Paritosh Kumar
Modified:
5 years, 6 months ago
Reviewers:
tkent
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Click event should be fired before change events for checkbox and radio button. This cl fixes this issue. Bug=178505 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197239

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -3 lines) Patch
A LayoutTests/fast/forms/radio-checkbox-events-order.html View 1 2 1 chunk +102 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/radio-checkbox-events-order-expected.txt View 1 1 chunk +50 lines, -0 lines 0 comments Download
M LayoutTests/fast/forms/radio/radio-group-keyboard-change-event-expected.txt View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/html/HTMLInputElement.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/html/HTMLInputElement.cpp View 2 chunks +6 lines, -1 line 0 comments Download
M Source/core/html/forms/CheckboxInputType.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/forms/RadioInputType.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
Paritosh Kumar
@tkent: Please have a look. The cause of that regression was call of setTextAsOfLastFormControlChangeEvent(String()) in ...
5 years, 6 months ago (2015-06-16 08:02:40 UTC) #2
tkent
Please add a test for crbug.com/500084.
5 years, 6 months ago (2015-06-16 08:10:05 UTC) #3
Paritosh Kumar
On 2015/06/16 08:10:05, tkent wrote: > Please add a test for crbug.com/500084. Updated the cl ...
5 years, 6 months ago (2015-06-16 09:02:04 UTC) #4
tkent
lgtm https://codereview.chromium.org/1188763002/diff/20001/LayoutTests/fast/forms/radio-checkbox-events-order.html File LayoutTests/fast/forms/radio-checkbox-events-order.html (right): https://codereview.chromium.org/1188763002/diff/20001/LayoutTests/fast/forms/radio-checkbox-events-order.html#newcode72 LayoutTests/fast/forms/radio-checkbox-events-order.html:72: checkbox1.focus(); This line is confusing. I think this ...
5 years, 6 months ago (2015-06-16 23:56:29 UTC) #5
Paritosh Kumar
Thanks tkent removed that line. https://codereview.chromium.org/1188763002/diff/20001/LayoutTests/fast/forms/radio-checkbox-events-order.html File LayoutTests/fast/forms/radio-checkbox-events-order.html (right): https://codereview.chromium.org/1188763002/diff/20001/LayoutTests/fast/forms/radio-checkbox-events-order.html#newcode72 LayoutTests/fast/forms/radio-checkbox-events-order.html:72: checkbox1.focus(); On 2015/06/16 23:56:29, ...
5 years, 6 months ago (2015-06-17 06:01:33 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1188763002/40001
5 years, 6 months ago (2015-06-17 06:02:00 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-17 07:03:22 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1188763002/40001
5 years, 6 months ago (2015-06-17 07:05:51 UTC) #13
commit-bot: I haz the power
5 years, 6 months ago (2015-06-17 07:10:22 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197239

Powered by Google App Engine
This is Rietveld 408576698