bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

An empty DIV block becomes draggable when dragged the second time, and the mouse-up event is lost.

RESOLVED INCOMPLETE

Status

()

Firefox
General
--
major
RESOLVED INCOMPLETE
8 years ago
7 years ago

People

(Reporter: pkwan, Unassigned)

Tracking

3.6 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

8 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6

An empty DIV block will become draggable like an image, if you attempt to drag it twice.

Also, the mouse-up event will only be fired during the first drag. In subsequent drags, the mouse-up event will not be fired, but the mouse-down event will still be fired.

The above behavior does not occur if the DIV is not empty. It also does not occur in FireFox 3.5 or below.



Reproducible: Always

Steps to Reproduce:
1. Creates a web page with just one empty <DIV> block, with a mouse-up event handler, like:

<html><body>
<div style="width:600px; height:600px; background-color:#c0c0c0" onmouseup="alert('mouse up');"></div>
</body></html>

2. Drag on the empty DIV block. The mouse-up event occurs.

3. Drag again. The DIV block will drag with a "Stop" icon as if it is an image. When the mouse is released, the mouse-up event will not occur.

Actual Results:  
The mouse-up event occurs in the first drag. In subsequent drags, the DIV block will drag with a "Stop" icon as if it is an image. When the mouse is released, the mouse-up event will not occur.

Expected Results:  
The DIV should not drag like an image. The mouse-up event should occur.

Updated

8 years ago
Version: unspecified → 3.6 Branch

Comment 1

7 years ago
Reporter -> Are you still experiencing this issue with the latest version of Firefox 5? Does the issue occur with the latest nightly? http://nightly.mozilla.org/

Comment 2

7 years ago
Reporter -> Any update?

Comment 3

7 years ago
Closing bug as Incomplete - if you are still experiencing this issue or have more information to provide feel free to post back here and we can re-open the bug. You can also get assistance by visiting the Firefox help site -> http://support.mozilla.com/en-US/kb/Ask+a+question
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.