New issue
Advanced search Search tips

Issue 799519 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Anchor with `cursor: auto` produces unexpected text cursor

Reported by clinte...@gmail.com, Jan 5 2018

Issue description

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

Example URL:

Steps to reproduce the problem:
1. Style an <a> with `cursor: auto`.
```
<!DOCTYPE html>
<style> a:hover { cursor: auto; } </style>
foo <a href="http://example.com">bar</a>
```

2. Move cursor over element.

What is the expected behavior?
The default stylesheet explicitly uses `cursor: pointer`, which results in the expected cursor.

What went wrong?
The cursor used is that of `cursor: text`.

Does it occur on multiple sites: Yes

Is it a problem with a plugin? N/A 

Did this work before? Yes 

Does this work in other browsers? Yes

Chrome version: 63.0.3239.132  Channel: stable
OS Version: OS X 10.12.6
Flash Version:
 
cursor-bug.gif
31.9 KB View Download
Cc: eirage@chromium.org
Components: -Blink Blink>Input
Labels: Needs-Feedback
The spec has been clarified and Chrome's implementation change. Specifically:

"auto"
The UA determines the cursor to display based on the current context, specifically: auto behaves as text over selectable text or editable elements, and default otherwise.

I believe what you are seeing matches the specification. And it behaves the same in Firefox as well.

Can you please let us know if this is not your interpretation of the specification?
Link to spec: https://drafts.csswg.org/css-ui-3/#valdef-cursor-auto

"auto behaves as text over selectable text or editable elements, and default otherwise."

Status: WontFix (was: Unconfirmed)
Closing as the implementation appears to match the spec and is the same as firefox.

Sign in to add a comment