New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 614328 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 637516
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Label elements don't always give focus to their related inputs, if the label contains an image and some text is highlighted elsewhere on page

Reported by use...@gmail.com, May 24 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

Example URL:
http://jsbin.com/fokusexuya/1/edit?html,output

Steps to reproduce the problem:
1. highlight some text on the page
2. click <label for=foo><img></label>
3. #foo doesn't get focus correctly

What is the expected behavior?
the input that the label is for should get focus

What went wrong?
Sometimes the input gets focus just fine, other times not.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes 

Chrome version: 50.0.2661.102  Channel: stable
OS Version: OS X 10.11.4
Flash Version: Shockwave Flash 21.0 r0
 
Can reproduce this on Chrome 48/Windows 7, and on Chrome 52/Mac.

Cannot reproduce on Chrome 50/Android 6.0.1

Peculiarly, also cannot reproduce on Chrome 52/Mac using touch emulation in Devtools.

Comment 2 by use...@gmail.com, May 24 2016

Can reproduce on Canary 53.0.2747.0 (64-bit)
Components: -Blink Blink>Input
Status: Available (was: Unconfirmed)
Confirmed on m50 and m53 on Mac. The first click on the image after highlighting text shows the incorrect behavior.

Comment 4 by bokan@chromium.org, Jun 9 2016

Components: -Blink>Input Blink>Forms
Labels: OS-Linux OS-Windows
Status: Untriaged (was: Available)
Confirmed on Linux, this isn't Mac specific. Also, this looks like a problem with forms.

Comment 5 by tkent@chromium.org, Jun 9 2016

Cc: deepak...@samsung.com
Components: -Blink>Forms Blink>Forms>Label
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Project Member

Comment 6 by sheriffbot@chromium.org, Jun 12 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 7 by tkent@chromium.org, Jun 13 2017

Mergedinto: 637516
Status: Duplicate (was: Untriaged)

Sign in to add a comment