Closed
Bug 1160701
Opened 9 years ago
Closed 9 years ago
W3School example doesn't work on FireFox
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: hcchen5600, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.3; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20150415140819 Steps to reproduce: 1. Study and try w3school.com's example on Firefox http://www.w3school.com.cn/tiy/t.asp?f=hdom_event_ctrlkey 2. It doesn't work only on Firefox. Actual results: "Click somewhere in the document" no response. IE and Chrome are ok. Firefox in trouble. Expected results: "Click somewhere in the document" should pops up an alert box says if your Ctrl-key is pressed or not.
Comment 1•9 years ago
|
||
It works if you click on the text. If you make the body bigger e.g. <body style="width:100%;height:100%" onmousedown="isKeyPressed(event)"> the it works throughout.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•