WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
8989
Tiger, Leopard: Add built-in support for .cur format CSS custom cursors
https://bugs.webkit.org/show_bug.cgi?id=8989
Summary
Tiger, Leopard: Add built-in support for .cur format CSS custom cursors
Alexey Proskuryakov
Reported
2006-05-19 03:14:33 PDT
Steps to reproduce: open the bug URL, mouse over the map. Expected results: cursor changes to a hand. ToT results: cursor changes to an icon of a missing image. Since shipped Safari doesn't support custom cursors at all (
bug 5689
), this problem doesn't occur, I'll file a separate P1/regression bug.
Attachments
test case
(1.14 KB, application/octet-stream)
2006-05-19 03:14 PDT
,
Alexey Proskuryakov
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2006-05-19 03:14:56 PDT
Created
attachment 8401
[details]
test case
Alexey Proskuryakov
Comment 2
2006-05-20 03:59:41 PDT
CGImageSource already has support for .ico files, which have identical format (.cur differs by a single byte in the header). I have filed <
rdar://4556355
> for CG to support .cur. Keeping this bug open, too - the format is pretty simple, and we don't necessarily have to wait for CG to support it. Microsoft documentation: <
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/msdn_icons.asp
>.
Alexey Proskuryakov
Comment 3
2006-07-25 05:04:59 PDT
Looks like .cur cursors are actually supported by CG, but not fully - some are rendered fine, some are rendered incorrectly, and others are just ignored.
David Kilzer (:ddkilzer)
Comment 4
2007-11-01 05:52:07 PDT
This works in Safari for Windows on XP Pro (a four-directional arrow cursor appears instead of a hand over the map--is this the equivalent in Windows?). It may work in Mac OS X 10.5 Leopard as well.
Dan Fabulich
Comment 5
2008-04-08 11:12:09 PDT
That extra byte of difference between a .cur and a .ico includes the anchor point of the cursor; this information is currently being ignored, which results in
bug 15779
. As pointed out in
comment #4
, even the minimal support for showing the cursor doesn't work with Safari 3.1 on OS X 10.4; this is separately filed as
bug 15783
.
Daniel Bates
Comment 6
2009-11-15 16:06:40 PST
The test case passes for me with the latest nightly build
r50918
under Mac OS 10.5.8. So, this issue seems to have been resolved. Alexey, are there still issue with .cur support? Can we close this bug? (In reply to
comment #5
)
> That extra byte of difference between a .cur and a .ico includes the anchor > point of the cursor; this information is currently being ignored, which results > in
bug 15779
. > > As pointed out in
comment #4
, even the minimal support for showing the cursor > doesn't work with Safari 3.1 on OS X 10.4; this is separately filed as bug > 15783.
Alexey Proskuryakov
Comment 7
2009-11-15 16:46:28 PST
Partial support for .cur files is present in CG on Leopard - they are decoded successfully, but we don't get to know where hotspot is. So, adding support directly to WebKit is still an option. The actual page at bug URL still doesn't work correctly, so we need a new reduction.
dayveday
Comment 8
2009-11-16 22:17:23 PST
Bug 30820
looks like it should have solved this case, but I can still reproduce on
r51062
. This is easy to reproduce with the Google Maps API:
http://gmaps-utility-library-dev.googlecode.com/svn/trunk/geometrycontrols/examples/test.html
Steps to reproduce: 1) Load demo 2) Click jagged line icon to toggle on polyline drawing 3) Observe that points are drawn at the upper-left corner of the cursor, not at the centre This works as expected in IE/FF (although FF for Mac has no custom cursor support at all AFAICT).
Scott Bell
Comment 9
2009-12-09 10:57:12 PST
I can also confirm that custom .CUR cursors do not behave acceptably in WebKit
r51881
due to
bug 15779
.
Shane Stephens
Comment 10
2011-06-13 17:53:57 PDT
No comments on this bug for 1.5 years, and the issue now seems to be resolved.
Alexey Proskuryakov
Comment 11
2011-06-13 21:15:36 PDT
It's not resolved on Tiger or Leopard (see the bug title), but it seems safe to assume that no one is going to work on that now.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug