Closed Bug 1672609 Opened 4 years ago Closed 3 years ago

Support CSS cursor property on Android

Categories

(GeckoView :: IME, enhancement, P3)

Unspecified
Android
enhancement

Tracking

(firefox95 fixed)

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: kbrosnan, Assigned: m_kato)

References

Details

(Keywords: dev-doc-complete)

Attachments

(2 files)

Moved from https://github.com/mozilla-mobile/fenix/issues/16072

Fenix does not support CSS cursor property so users can be confused about whether something is clickable or not.

How do you know that this problem exists today? Why is this important?

  1. Open https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
  2. Hover over the example and see whether cursor changes.
  3. It does not

Who will benefit from it?

Android users with mouse e.g. Samsung Dex users

Priority: -- → P3
Severity: -- → N/A
Type: defect → enhancement
Blocks: 691284
Assignee: nobody → m_kato

This change also supports pointer icon change such as I-beam etc when pointer
is on text box etc.

Also, there is no equals method for PointerIcon object on Android, so no way
to write unit test.

Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/2c4a1da0b059
Add GeckoSessionTestRule.synthesizeMouseMove. r=geckoview-reviewers,agi
https://hg.mozilla.org/integration/autoland/rev/c2d6ee67da1a
Implement nsWindow::SetCursor to support cursor property on GeckoView. r=geckoview-reviewers,emilio,owlish
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
Keywords: dev-doc-needed

FYI FF95 Docs work for this has started and can be tracked in https://github.com/mdn/content/issues/10145.
This consists mostly of a browser compatibility update, but I'm hoping to clean up some information around the X, Y values while we're at it.

Regressions: 1758212

Moving some cursor and key event bugs to the new GeckoView::IME component.

Component: General → IME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: