Skip to content

[css-ui-3] auto cursor should behaves as default cursor except for text? #1598

Closed
@EiraGe

Description

@EiraGe

The spec of "auto" behavior says:

The UA determines the cursor to display based on the current context

and

auto behaves as text over text, and default otherwise

According to the css tests cursor-auto-005 and cursor-auto-002 the auto cursor shouldn't change when it's over a text input area or a link. Two chromium bugs were filed by @frivoal :
bug 1 and bug 2.

I think the the cursor should shows "it's a clickable link" when over a link and I-beam for the input area when it is "auto", because it should change based on the current context. Is the spec wants cursor doesn't show it's over link and over input area?

Also, "auto" is the initial value for cursor style: https://drafts.csswg.org/css-ui-3/#cursor. In Chrome, "auto" behave same as cursor style not set. But in Firefox, set "cursor: auto" cursor over link is different from not setting cursor style.
Should "auto" behave same as style not set?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions