Closed Bug 413678 Opened 17 years ago Closed 16 years ago

Image selection fails in contenteditable areas

Categories

(Core :: DOM: Editor, defect, P4)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9

People

(Reporter: spam, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Build Identifier: 

When switching from one contentEditable element to another the selection of images fails the first time. The image selection appears to be correct due to visual representation but there is also a caret present and the image isn't really selected.

Reproducible: Always

Steps to Reproduce:
1. Open attached URL.
2. Click inside the first editable element.
3. Click inside the second editable element on the image.
4. Observe that the caret is placed at the beginning of the element. So there is a caret and the image is selected at the same time. This is incorrect.
Actual Results:  
Image appears selected but it isn't really selected.

Expected Results:  
The image should be selected and no caret should be present.
Flags: blocking1.9?
..so that there's no chance it will ever get lost.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I guess this is somehow happening because the contenteditable block gets the focus outline.
The interesting this is that this didn't happen in previous builds. I think it might have something to do with the resent fix for this bug since it was after that fix it appeared.

https://bugzilla.mozilla.org/show_bug.cgi?id=364719
Blocks: 390278
Flags: blocking1.9? → blocking1.9+
Priority: -- → P4
Flags: wanted-next+
Flags: blocking1.9-
Flags: tracking1.9+
Fixed by the fix for bug 406596.
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: