Closed Bug 46042 Opened 25 years ago Closed 25 years ago

The html events onkeypress, keyup, and keydown dont work

Categories

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

defect

Tracking

()

VERIFIED INVALID

People

(Reporter: jerone, Assigned: joki)

Details

(Whiteboard: (py8ieh: what happens with -moz-user-focus set?))

Attachments

(1 file)

The events onkeypress, onkeydown and onkeyup don't function properly in this Mozilla build. Reproductible: Always Steps to Reproduce: 1.Open attachment 2 [details] [diff] [review].select keypress onkeyup, or onkeydown and press any key Actual Results: Nothing happens Expected Results: An alert should pop up saying keypress, onkeyup,or onkeydown showing that its supported OS tested on:Mac OS9,8.6, Win 98,2000,NT, & Linux redhat 6.0 BuildID: 2000-07-1911-m17
Attached file Test Case
After talking with vidur@netscape.com, it is our opinion that only focusable content should respond to keypress etc. events. tt, and the majority of HTML elements are not focusable content (unfortunately the HTML spec just assigns all intrinsic attributes to just about every element even when they make no sense). Painting the element with mouse does not make the element focused. Marking INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Mass update: changing qacontact to ckritzer@netscape.com
QA Contact: janc → ckritzer
Updating QA Contact.
QA Contact: ckritzer → lorca
Whiteboard: (py8ieh: what happens with -moz-user-focus set?)
Verified invalid.
Status: RESOLVED → VERIFIED
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

Creator:
Created:
Updated:
Size: