New issue
Advanced search Search tips

Issue 598034 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 401519
Owner: ----
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

textbox focus bug

Reported by yurk...@gmail.com, Mar 25 2016

Issue description

Chrome Version       : 49.0.2623.87 (Official Build) m (32-bit)
URLs (if applicable) :
Other browsers tested:
     Safari:
    Firefox: OK
         IE: OK

What steps will reproduce the problem?
(1) Open attached html
(2) Click anywhere below text

What is the expected result?
Nothing should happen

What happens instead?
Input field focused

Please provide any additional information below. Attach a screenshot if
possible.

 
chrome-focus-bug.html
243 bytes View Download

Comment 1 Deleted

Comment 2 by yurk...@gmail.com, Mar 25 2016

so, affected browser's full data:

Google Chrome	49.0.2623.87 (Official Build) m (32-bit)
Revision	d177478d466b84ab06f0f48081fc30e3b04be6ca-refs/branch-heads/2623@{#592}
OS	Windows 
Blink	537.36 (@d177478d466b84ab06f0f48081fc30e3b04be6ca)
JavaScript	V8 4.9.385.28
Flash	21.0.0.197
User Agent	Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.87 Safari/537.36 

Comment 3 by yurk...@gmail.com, Mar 25 2016

Issue details is actually for windows os.

OSX Google Chrome 49.0.2623.87 (Official Build) (64-bit) has a bit different behaviour - bug reproduced only on *left* area click ;)
Exactly the same issue with OSX Safari Version 9.0.2 (10601.3.9)
Components: Blink>Focus Blink>Forms

Comment 5 by tkent@chromium.org, Mar 30 2016

Cc: tkent@chromium.org
Components: -Blink>Forms Blink>Input>HitTesting
Looks a hittesting issue.

Comment 6 by bokan@chromium.org, Mar 31 2016

Cc: dtapu...@chromium.org
Labels: Hotlist-Input-Dev OS-Linux OS-Mac OS-Windows
Status: Available (was: Unconfirmed)
I'm able to repro this on Linux and Mac by clicking to the right of the textbox (not below). Firefox behaves correctly. This seems to be an issue with how we hit test the ::after pseudo-element. Note, that clicking to the right of the ::after content also focuses the textbox.

Comment 7 by kochi@chromium.org, Apr 4 2016

A copy of the original repro HTML on jsbin (for ease of your test):
http://jsbin.com/fopojubize/edit?html,output


Comment 8 by kochi@chromium.org, Apr 4 2016

Components: -Blink>Focus -Blink>Input>HitTesting Blink>TextSelection

Comment 9 by kochi@chromium.org, Apr 4 2016

Probably same as  issue 448338  and issue 401519.
Mergedinto: 401519
Status: Duplicate (was: Available)
The root cause is handling of pseudo-element ::after in visible position canonicalization.

Comment 11 by tkent@chromium.org, Oct 12 2016

Components: -Blink>TextSelection Blink>Editing>Selection

Sign in to add a comment