Closed Bug 261484 Opened 21 years ago Closed 20 years ago

Ticker on BBC News Website fails to function correctly on MouseOut

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: nick, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 Notice the ticker at http://news.bbc.co.uk When the cursor is placed over the ticker, the colour and cursor change as expected. However, when the cursor is moved off, the colour and the cursor stick in the changed state. This does not happen in Microsoft Internet Explorer, where the colour and cursor change correctly on MouseOut. Reproducible: Always Steps to Reproduce: 1. Go to the BBC News website at http://news.bbc.co.uk/ 2. Notice the colour of the ticker which scrolls across the screen. 3. Place your mouse cursor over the ticker - notice that the colour and cursor icon change. (This is expected) 4. When you move the mouseout, the colour of the ticker text and the cursor icon (now in the hand shape) stick. This should not happen. Actual Results: See other... Expected Results: The same page viewed in Microsoft Internet Explorer works correctly. The ticker reverts to its original state - and the cursor goes back to a normal mouse from the hand cursor. This is what should happen.
The js ticker is inside an iframe. It updates it's text with the .innerHTML property. There is a style rule a:hover which sets the text color. So when you leave the ticker with your mouse, the color should definitely change back.
Attached file testcase
This testcase does not use an iframe, but it is basically the same. To see the bug, you must over over the text, the background color becomes green. When you move the mouse above, to the browser chrome, sometimes the background color doesn't change back to white (in 50% of the case).
(In reply to comment #2) > When you move the mouse above, to the browser chrome, sometimes the background > color doesn't change back to white (in 50% of the case). Hmm, actually the background color doesn't change in almost all cases. I can see the bug in: Mozilla/5.0 (Windows; U; Windows NT 5.1; @AB_CD@; rv:1.8a4) Gecko/20040924 Firefox/0.9.1+
Status: UNCONFIRMED → NEW
Component: General → Layout
Ever confirmed: true
Product: Firefox → Browser
Version: unspecified → Trunk
Over to events. Chances are, blowing away the frames when we SetInnerHTML makes content states all confused.
Assignee: firefox → events
Component: Layout → Event Handling
OS: Windows XP → All
QA Contact: firefox.general → ian
Hardware: PC → All
This is now WFM in current trunk builds. If someone can still reopen in the latest nightly build, then please reopen.
Status: NEW → RESOLVED
Closed: 20 years ago
Keywords: testcase
Resolution: --- → WORKSFORME
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: