Closed Bug 258738 Opened 20 years ago Closed 20 years ago

When an element's CSS 'cursor' property changes, mouse isn't updated until it moves

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 20022

People

(Reporter: CGameProgrammer, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3

On the sample URL, you can see the edit boxes' cursor is set to 'default' -- the
arrow cursor. But if you focus on an edit box (like by clicking it) the CSS
class changes to one with a 'cursor:text' property, yet the new cursor isn't
shown until the user moves the mouse. It looks better in IE since IE doesn't
have this bug.

Reproducible: Always
Steps to Reproduce:
1. Use JavaScript or CSS ":hover" to change cursor property dynamically.
2. Don't move the mouse while this happens.
3.

Actual Results:  
The new cursor fails to be rendered until the user moves the mouse.

Expected Results:  
Shown the new cursor immediately.
It works for me, using:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040909
Firefox/0.9.1+

But I can see the bug in Mozilla1.7.
So I guess this has been fixed in the 1.8a builds.
This is only fixed on trunk, not branch.

*** This bug has been marked as a duplicate of 20022 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.