Ticket #3769 (closed bug: invalid)
img hover with addClass to change cursor type fails in Opera 9.63
| Reported by: | elamaton | Owned by: | brandon |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | event | Version: | 1.2.6 |
| Keywords: | opera hover cursor | Cc: | elamaton |
| Blocking: | Blocked by: |
Description
See here for an example of this bug. The complete HTML/CSS/JS source is just 28 lines, so it's easy to see what happens.
The inlined script simply adds a hover action to the img element, running addClass("handcursor") on mouseover and removeClass("handcursor") on mouseout. The handcursor class contains nothing but a simple "cursor: pointer" rule.
Firefox 3 and Safari 3 work as expected, changing the cursor to the finger icon, but in Mac Opera 9.63 the cursor stays as the default arrow. No JS errors are logged.
#1970 (hover in Opera disables changes in cursor icon) is an old bug, and fixed, but could it be related?
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

It's a CSS thing. The class is added, it just doesn't like the rule for some reason.