Closed
Bug 640321
Opened 14 years ago
Closed 14 years ago
Images in contenteditable can not be resized if stopPropagation is called within mouseup
Categories
(Core :: DOM: Editor, defect)
Tracking
()
RESOLVED
FIXED
mozilla5
People
(Reporter: JoWie, Assigned: ehsan.akhgari)
References
Details
Attachments
(2 files)
1.49 KB,
text/html
|
Details | |
15.16 KB,
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
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
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•14 years ago
|
||
Sounds like that listener needs to be in the system event group...
Assignee | ||
Comment 3•14 years ago
|
||
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+
Assignee | ||
Updated•14 years ago
|
Whiteboard: [post-2.0]
Assignee | ||
Comment 4•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
No longer depends on: post2.0
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [post-2.0]
Target Milestone: --- → mozilla2.2
Comment 5•14 years ago
|
||
Can you please document your additions to the SpecialPowers API here:
https://developer.mozilla.org/en/SpecialPowers
Comment 6•14 years ago
|
||
Documentation complete.
You need to log in
before you can comment on or make changes to this bug.
Description
•