Skip to main content

Bug Tracker

Side navigation

#3769 closed bug (invalid)

Opened January 02, 2009 05:50PM UTC

Closed January 02, 2009 10:31PM UTC

Last modified March 14, 2012 10:33PM UTC

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:
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?

Attachments (0)
Change History (2)

Changed January 02, 2009 10:31PM UTC by flesler comment:1

cc: → elamaton
resolution: → invalid
status: newclosed

It's a CSS thing.

The class is added, it just doesn't like the rule for some reason.

Changed January 03, 2009 09:14AM UTC by elamaton comment:2

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