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

Issue 21005002: Order of actions for labeled control should be focus then click. (Closed)

Created:
7 years, 4 months ago by tkent
Modified:
7 years, 4 months ago
Reviewers:
keishi
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Order of actions for labeled control should be focus then click. When we click on a checkbox or a radio button, event order is: - mousedown - focus, triggered by mousedown - mouseup - change, triggered by the following click <wkbug.com/93674> - click That is to say, we focus on it first and then click it. Click on an associated label should have same behavior. BUG=264567 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155162

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -3 lines) Patch
A LayoutTests/fast/forms/label/label-event-order.html View 1 chunk +25 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/label/label-event-order-expected.txt View 1 chunk +13 lines, -0 lines 0 comments Download
M Source/core/html/HTMLLabelElement.cpp View 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
tkent
Keishi, would you review this please?
7 years, 4 months ago (2013-07-29 04:53:37 UTC) #1
keishi
lgtm
7 years, 4 months ago (2013-07-30 07:10:07 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/21005002/1
7 years, 4 months ago (2013-07-30 07:30:33 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/21005002/1
7 years, 4 months ago (2013-07-30 10:24:31 UTC) #4
commit-bot: I haz the power
7 years, 4 months ago (2013-07-30 13:33:15 UTC) #5
Message was sent while issue was closed.
Change committed as 155162

Powered by Google App Engine
This is Rietveld 408576698