Open
Bug 1298002
Opened 9 years ago
Updated 3 years ago
CSS cursors with hotspots not at (0,0) do not display
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
NEW
People
(Reporter: richie, Unassigned)
References
()
Details
Attachments
(1 file)
|
1.02 KB,
application/x-zip-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Steps to reproduce:
A CSS rule "cursor: url(x.cur)" doesn't work if the cursor defines a hotspot other than (0,0).
Actual results:
The cursor does not display.
Expected results:
The cursor should be displayed, and its hotspot should be respected.
Test page here: http://entrian.com/cursors.html
In Firefox, the cursor with a non-(0,0) hotspot fails to display. In Chrome, IE11, and Edge, it displays fine.
I've attached the test page and the cursors.
| Reporter | ||
Updated•9 years ago
|
Comment 1•9 years ago
|
||
I can reproduce this in both the current stable version and the nightly build. Tested:
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160728203720
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20160829030202
The behavior is subtle and difficult to screenshot. The sample link presents two blocks side-by-side. Hover over the block on the left and you see a custom cursor, with an image appended to it. Hover over the block on the right and you do not. You see only the regular pointer.
I saw a custom cursor in both blocks when I tried this in Chromium.
Presumably this would go to Core, CSS Parsing and Computation, but I'm not absolutely certain of that.
[bugday-20160829]
Comment 2•9 years ago
|
||
Firefox: 51.0a1, Build ID: 20160829030202
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0
I have tested this issue on the latest Firefox (48.0.2) release and latest Nightly (51.0a1) build and I have manged to reproduce it. The custom cursor is not displayed in the left box where cursor hotspot is (5,11). Instead of custom cursor is displayed the regular cursor.
Status: UNCONFIRMED → NEW
Component: Untriaged → CSS Parsing and Computation
Ever confirmed: true
Product: Firefox → Core
Updated•8 years ago
|
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•