Closed Bug 284128 Opened 20 years ago Closed 20 years ago

"click" event in addEventListener is unreliable when selecting text

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INVALID

People

(Reporter: mark, Assigned: bugzilla)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)
Build Identifier: 

The "click" event from addEventListener is normally generated when you drag 
select text and let up the mouse button. BUT, if you start dragging in one 
paragraph and let up in another, OR you drag across a link, then the event is 
never generated. (The "mouseup" event does seem to work OK.)

    gBrowser = top.document.getElementById("content");
    gBrowser.addEventListener("click", browserClickHandler, false);




Reproducible: Always
Invalid per DOM2 spec:
"The click event occurs when the pointing device button is clicked over an
element. A click is defined as a mousedown and mouseup over the same screen
location."
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.