<BUTTON> elements do not respond to certain events

VERIFIED FIXED in M6

Status

()

Core
DOM
P3
normal
VERIFIED FIXED
20 years ago
12 years ago

People

(Reporter: german, Assigned: Eric Vaughan)

Tracking

Trunk
x86
Windows 95
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: been sliding m4->6, move to m7?)

(Reporter)

Description

20 years ago
I tested this with onmouseover and onmouseout (don't know about others), and a
simple alert("blah..") script, and I cannot see any alert message in the console
window. This works with other elements like IMGs. So I assume the button object
does not respond to events. This is the same whether I
assign the scripts to the events inline inside the <BUTTON> tag or from another
javascript.

Updated

20 years ago
Assignee: vidur → joki

Comment 1

20 years ago
Passing it on to joki, though it may be Chris Karnaze's problem.

Updated

20 years ago
Assignee: joki → karnaze

Updated

20 years ago
Status: NEW → ASSIGNED

Updated

20 years ago
Assignee: karnaze → pollmann
Status: ASSIGNED → NEW

Comment 2

20 years ago
Setting all current Open/Normal to M4.

Comment 3

20 years ago
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser

Updated

20 years ago
QA Contact: 4015 → 3847

Comment 4

20 years ago
QA contact re-assigned according to the product areas we're currently working
on.

Updated

20 years ago
Assignee: pollmann → evaughan
Status: ASSIGNED → NEW

Comment 5

20 years ago
A <BUTTON> bug

Updated

20 years ago
Target Milestone: M4 → M5

Comment 6

20 years ago
moving to m5

Updated

19 years ago
Priority: P2 → P3
Target Milestone: M5 → M6

Comment 7

19 years ago
this sounds less urgent, moving to p3 for m6

Updated

19 years ago
Whiteboard: been sliding m4->6, move to m7?
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 8

19 years ago
Tested with the following html file. And onmouseover and onmouseout seem to be
working fine

<html>
   <head>
      <script>
         function show() {
            document.getElementById("div1").setAttribute("value","visible");
         }

         function hide() {
            document.getElementById("div1").setAttribute("value","hidden");
         }
      </script>

      <style>
         div[id="div1"][value="hidden"] {
            background-color: blue;
         }

         div[id="div1"][value="visible"] {
            background-color: red;
         }
      </style>
   </head>

   <body>
      <div id="div1" value="hidden">
         this is text

         <form>
         <input type="submit">
         </form>

         <iframe src="http://www.yahoo.com">
      </div>
      <input type="button" onmouseover="show(this)" onmouseout="hide(this)"
value="show"/>
   </body>
</html>

Updated

19 years ago
Status: RESOLVED → VERIFIED

Comment 9

19 years ago
verified fixt.  build 1999-05-24-09-M6

Updated

12 years ago
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.