Closed Bug 271740 Opened 20 years ago Closed 20 years ago

Target of change event on checkbox is label if label was clicked

Categories

(Core :: DOM: Events, defect)

1.7 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: ian, Unassigned)

References

()

Details

When you click a label associated with a checkbox, the sequence of events should
be as follows:

   "click" fired on label.             if cancelled, abort
   Checkbox value changed.
   "click" fired on checkbox.          if cancelled, abort and restore checkbox
   "DOMActivate" fired on checkbox.    if cancelled, abort and restore checkbox
   "change" fired on checkbox.         if cancelled, abort and restore checkbox

I haven't checked the exact sequence but the change event is firing, except it
is somehow targetted at the label (which doesn't seem to make sense at all).

Only tested on Firefox 1.0. Bring on the merge.
Blocks: 146066
So why is this not a dup of bug 146066, exactly?
Fixed by patch in bug 146066.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.