My favorites | Sign in
Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 12244: cursor:url(*.cur) does not respect hotspot
3 people starred this issue and may be notified of changes. Back to list
Status:  Unconfirmed
Owner:  ----
Type-Bug
Pri-2
OS-All
Area-Misc


Sign in to add a comment
 
Reported by davebollinger, May 19, 2009
Chrome Version       : 1.0.154.65
URLs (if applicable) : http://sjmap.org/cursortest/
Other browsers tested: IE8, IE7, FF3, Safari4, Opera9.6
Add OK or FAIL after other browsers where you have tested this issue:
     Safari 4: FAIL (same failure described here)
  Firefox 3.x: OK
         IE 7: OK
         IE 8: OK
    Opera 9.6: FAIL (cursor:url not supported at all)

What steps will reproduce the problem?
1. mouseover an element using a custom cursor:url where the internally 
stored hotspot in the .cur file is *NOT* 0,0 upper-left, note where cursor 
changes - does not correspond to hotspot
2.
3.

What is the expected result?
the mouse cursor's hotspot should be taken from the .cur file so that 
cursor changes and clicks occur at the correct location

What happens instead?
the internally stored hotspot is not recognized/used, instead left at 0,0 
upper-left of the glyph, causing the mouse pointer to incorrectly reflect 
the pointed-to position

Please provide any additional information below. Attach a screenshot if
possible.
Also tested that CSS3 syntax for specifying xy of hotspot isn't yet 
supported, for instance:
cursor:url("zoomin.cur") 14 13,auto;
though that isn't part of this bug, i was just testing for possible 
workarounds.
Comment 1 by realfun, Sep 29, 2009
Add one to this, custom url cursor has hotspot problem

Repro:
1. Goto http://fayaa.com/tool/favicon/
2. click the "line" button then move mouse to the top-left corner, before the center 
of the cursor move out of board, cursor turns out to be normal cursor again, it only 
recognize "0,0" as the hotspot

Related:
http://code.google.com/p/chromium/issues/detail?id=1446
Sign in to add a comment