Closed
Bug 279313
Opened 20 years ago
Closed 20 years ago
Event.detail has a wrong value on mouseup
Categories
(Core :: DOM: Events, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bobe+bugzilla, Unassigned)
Details
Attachments
(1 file)
|
1.64 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6) Gecko/20050111 See the testcase for more details. The bug seems to occur if the target node of mouseup is not the same as the one for mousedown event. Reproducible: Always Steps to Reproduce: Actual Results: The value of Event.detail is 0 if the target node of mouseup event is not the same as the one for mousedown event Expected Results: The value of Event.detail should be 1 even if the target node of mouseup event is not the same as the one for mousedown event
| Reporter | ||
Comment 1•20 years ago
|
||
http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-mouseevents says: The detail attribute inherited from UIEvent indicates the number of times a mouse button has been pressed and released over the same screen location during a user action. The attribute value is 1 when the user begins this action and increments by 1 for each full sequence of pressing and releasing. If the user moves the mouse between the mousedown and mouseup the value will be set to 0, indicating that no click is occurring.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•