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

Issue 21321002: Form control focus by click on a label should be handled as same as focus (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

Form control focus by click on a label should be handled as same as focus by mouse down on the control. This is a follow-up of Blink r153039. Some form controls don't show focus rings by mouse press. Focus by click on a label should have same bahavior. BUG=265793 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155315

Patch Set 1 : test #

Total comments: 4

Patch Set 2 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
A LayoutTests/fast/forms/button/button-focus-by-label-click.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
A LayoutTests/fast/forms/button/button-focus-by-label-click-expected.html View 1 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/html/HTMLLabelElement.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
tkent
Keishi, would you review this please?
7 years, 4 months ago (2013-07-31 03:19:31 UTC) #1
keishi
https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html File LayoutTests/fast/forms/button/button-focus-by-label-click.html (right): https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html#newcode7 LayoutTests/fast/forms/button/button-focus-by-label-click.html:7: clickElement(document.querySelector('label')); clickElement clicks the center of the element. The ...
7 years, 4 months ago (2013-08-01 05:39:36 UTC) #2
tkent
https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html File LayoutTests/fast/forms/button/button-focus-by-label-click.html (right): https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html#newcode7 LayoutTests/fast/forms/button/button-focus-by-label-click.html:7: clickElement(document.querySelector('label')); On 2013/08/01 05:39:36, keishi1 wrote: > clickElement clicks ...
7 years, 4 months ago (2013-08-01 05:48:49 UTC) #3
keishi
lgtm https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html File LayoutTests/fast/forms/button/button-focus-by-label-click.html (right): https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html#newcode7 LayoutTests/fast/forms/button/button-focus-by-label-click.html:7: clickElement(document.querySelector('label')); On 2013/08/01 05:48:49, tkent wrote: > On ...
7 years, 4 months ago (2013-08-01 06:00:20 UTC) #4
tkent
https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html File LayoutTests/fast/forms/button/button-focus-by-label-click.html (right): https://codereview.chromium.org/21321002/diff/5001/LayoutTests/fast/forms/button/button-focus-by-label-click.html#newcode7 LayoutTests/fast/forms/button/button-focus-by-label-click.html:7: clickElement(document.querySelector('label')); On 2013/08/01 06:00:20, keishi1 wrote: > On 2013/08/01 ...
7 years, 4 months ago (2013-08-01 06:17:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tkent@chromium.org/21321002/13001
7 years, 4 months ago (2013-08-01 06:17:41 UTC) #6
commit-bot: I haz the power
7 years, 4 months ago (2013-08-01 08:25:42 UTC) #7
Message was sent while issue was closed.
Change committed as 155315

Powered by Google App Engine
This is Rietveld 408576698