Bug Tracker

Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#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
Blocked by: Blocking:


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 (2)

comment:1 Changed 14 years ago by flesler

Cc: elamaton added
Resolution: invalid
Status: newclosed

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

comment:2 Changed 14 years ago by elamaton

An Opera bug, then? I'll report it to them.

Note: See TracTickets for help on using tickets.