Bug Tracker

Modify

Ticket #3769 (closed bug: invalid)

Opened 4 years ago

Last modified 15 months ago

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

comment:1 Changed 4 years ago by flesler

  • Cc elamaton added
  • Status changed from new to closed
  • Resolution set to invalid

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

comment:2 Changed 4 years ago by elamaton

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.