User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12) Gecko/20100101 Firefox/4.0b12 Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12) Gecko/20100101 Firefox/4.0b12 If an image in an element with contenteditable="true" is resized and event.stopPropagation is called, the resizing will not stop after the mouse button has been released. With preventDefault this could be understandable, but this should not happen with stopPropagation Reproducible: Always Steps to Reproduce: 1. Open the testcase 2. Click on the first image 3. Drag one of the resize square's 4. Let go of the mouse Actual Results: The image will keep resizing towards the mouse cursor even though the mouse button has been released. Expected Results: (see second image) The resizing should stop after releasing the mouse button
Sounds like that listener needs to be in the system event group...
As a bonus, this patch includes a test which tests all of the resizer handles in all of the directions with aspect ratio preserving turned on and off.
Assignee: nobody → ehsan
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #519521 - Flags: review?(roc)
Attachment #519521 - Flags: review?(roc) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
No longer depends on: post2.0
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.2
Can you please document your additions to the SpecialPowers API here: https://developer.mozilla.org/en/SpecialPowers
You need to log in before you can comment on or make changes to this bug.