Open Bug 129432 Opened 23 years ago Updated 3 years ago

'onkeypress', 'onkeydown', onkeyup' not working on FORM,LEGEND,OPTGROUP,OPTION

Categories

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

x86
Windows 98
defect

Tracking

()

Tracking Status
firefox58 --- affected
firefox59 --- ?

People

(Reporter: christinehoff4, Unassigned)

Details

(Whiteboard: [webcompat])

Attachments

(1 file)

Testing using 03_06_06_trunk build. Open the attached testcase. 'onkeypress', 'onkeydown', onkeyup' not working on the following FORM elements: FORM LEGEND OPTGROUP OPTION
These attributes are working on other FORM elements except for LABEL which has already been written up in bug http://bugzilla.mozilla.org/show_bug.cgi?id=83733. There is another general bug for 'onkeypress'- http://bugzilla.mozilla.org/show_bug.cgi?id=87555.
QA Contact: madhur → rakeshmishra
QA Contact: rakeshmishra → trix
.
Assignee: joki → saari
QA Contact: trix → ian
Assignee: saari → nobody
QA Contact: ian → events
Flags: webcompat?
Whiteboard: [webcompat]
The markup is ```html <input name="AcademicTime" value="0" class="txt_Num" onkeypress="if(isNaN(String.fromCharCode(event.keyCode))) return false" type="text"> ```
Perhaps if we find more sites breaking due to this we can bump the priority.
Flags: webcompat?
Component: Event Handling → User events and focus handling

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → ---
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: