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

Issue 686209 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug-Regression



Sign in to add a comment

webkit-any-link with cursor: auto is displaying cursor on links as default instead of pointer (on hover) after mouseup event that returns false

Reported by n...@getaround.com, Jan 27 2017

Issue description

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

Steps to reproduce the problem:
Visit the following URLs for a better introduction to this problem:
http://stackoverflow.com/q/38530418
https://jsfiddle.net/tfq8h9hw/

Steps to reproduce the problem:
1. Create an anchor tag with an href attribute (or visit the JSFiddle above).
2. Attach an event handler onmouseup to the document, which returns false (or visit the JSFiddle above).
3. Hover over the anchor, cursor should be displayed as pointer.
4. Click anywhere outside the anchor, and hover over the anchor again.

What is the expected behavior?
The cursor should still be displayed as pointer when hovering over the anchor again.

What went wrong?
The cursor is being displayed as default.

Did this work before? N/A 

Chrome version: 55.0.2883.95  Channel: n/a
OS Version: OS X 10.12.2
Flash Version: Shockwave Flash 24.0 r0

I think this has to do with the :webkit-any-link pseudo-selector. It is automatically setting links to have cursor: auto, which is deciding how the cursor will be displayed (default vs pointer).

Note that clicking on the anchor after step 4 will make the cursor behave normally again (displaying pointer on hover).
 

Comment 1 by tkent@chromium.org, Jan 30 2017

Components: Blink>CSS
Labels: Needs-Bisect OS-Linux
Status: Untriaged (was: Unconfirmed)
Confirmed on Linux, 56 and nightly.

Comment 3 by ajha@chromium.org, Jan 31 2017

Labels: Needs-Milestone
Labels: -Type-Bug -Pri-2 -Needs-Bisect -Needs-Milestone M-58 hasbisect Pri-1 Type-Bug-Regression
Owner: koten...@yandex-team.ru
Status: Assigned (was: Untriaged)
Able to reproduce the issue on  Mac 10.12.2 and Linux Ubuntu-14.04 using chrome stable version 56.0.2924.76 and canary 58.0.2997.0

This is regression issue broken in M51.Please find the bisect information as below

Narrow Bisect::
===============
Good :51.0.2693.0 --   (build revision 383600)
Bad:: 51.0.2694.0 --   (build revision 383878)

ChangeLog: 
================
https://chromium.googlesource.com/chromium/src/+log/8989a96fdda843e8debdedfa77367ae63e010d5d..112c661e776be3a9a3ba04c2de484d0687630e83
Possible suspect
==================
https://chromium.googlesource.com/chromium/src/+/9e80a9e5b5b71a48119225a614b7c0b8369badf2

Review URL: https://codereview.chromium.org/1774123006

kotenkov@ could you please look into this issue if it is related to your change,else please help us in finding the appropriate owner for this issue.

Thanks,




Labels: Update-Quarterly
Cc: tkent@chromium.org
Components: -Blink>CSS Blink>Editing
Labels: -Update-Quarterly

Comment 7 by yosin@chromium.org, Mar 25 2017

Components: -Blink>Editing Blink>Input
Labels: OS-Windows
Status: Untriaged (was: Assigned)
Both Firefox and Edge don't change cursor shape.
But, Chrome change cursor shape to Arrow then back to Link shape.
Cc: chongz@chromium.org koten...@yandex-team.ru dtapu...@chromium.org
Owner: nzolghadr@chromium.org
Status: Assigned (was: Untriaged)
nzolghadr@ can you take over investigating this? It is certainly reproducible
nzolghadr@ ping
Status: Fixed (was: Assigned)

Sign in to add a comment