Closed Bug 125221 Opened 23 years ago Closed 23 years ago

onmouseover and CSS hover conflict - Worked on 0.9.7, doesn't on 0.9.8

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 38380

People

(Reporter: pedro.alves, Assigned: jag+mozilla)

References

Details

(Keywords: testcase)

Attachments

(1 file)

This piece of HTML code should swap "Teste" to red when the mouse is over the
link. Does not work, allthough the status line changes. If I change the function
to onmouseover="window.status='Teste'" (without the return true), the css works
but does not change the status bar. In 0.9.7, the css worked but the status did
not change. Here is the code:

<html><head>
<style type="text/css">
a{color : blue; }
a.menulogin:active{ color : red;}
a.menulogin:hover { color : red;}
</style>
<body bgcolor="#eeeeee">

<table width="100%">
<tr><td class="menulogin"><a class="menulogin" href="#"
onmouseover="window.status='Teste'; return true"
onmouseout="window.status='out'" >Teste</a></td></tr><tr></tr>
</table>
</body></html>
*** Bug 125220 has been marked as a duplicate of this bug. ***
Attached file 1st test case
verified win 2k build # 2002020406
over to Style System.  adding testcase keyword.

I see the reporter's expected behavior on 2001112203 but not on 2002012803.  I
don't know if this is a dupe or an intentional behavior so adding DUPME to
status whiteboard.
URL: embebed
Status: UNCONFIRMED → NEW
Component: Browser-General → Style System
Ever confirmed: true
Keywords: testcase
Whiteboard: DUPME
iirc this was an intentional change.
Assignee: asa → jaggernaut
Component: Style System → DOM Level 0
QA Contact: doronr → desale
Whiteboard: DUPME → DUPEME
Duplicate of '[ESM/CSS] css a:hover ignored on link with javascript
"onMouseover" and "return true;"'

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

Attachment

General

Creator:
Created:
Updated:
Size: