Bug 29125 - Images cannot be selected in documents with designMode enabled
Summary: Images cannot be selected in documents with designMode enabled
Status: RESOLVED DUPLICATE of bug 12250
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL: http://www.robodesign.ro/coding/0065/
Depends on:
Reported: 2009-09-10 08:33 PDT by Mihai Sucan
Modified: 2011-09-26 11:39 PDT (History)
2 users (show)

See Also:

test case (563 bytes, text/html)
2009-09-10 08:39 PDT, Mihai Sucan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mihai Sucan 2009-09-10 08:33:08 PDT
When editing images with any popular WYSIWYG editor one cannot (easily) select image elements. Sometimes, it's almost impossible to select images.

Steps to reproduce:

1. prepare a document with an image element.
2. set document.designMode='on'.
3. try to select the image element by clicking on it.

Expected result: the image element is selected.

Actual result: the image element is not selected.

Please see the simple test case. One can select images in Opera and Firefox.

This bug affects current and older versions of the most common Web browsers with Webkit (Safari and Chrome).
Comment 1 Mihai Sucan 2009-09-10 08:39:52 PDT
Created attachment 39350 [details]
test case

A simple page with designMode enabled.
Comment 2 Alexey Proskuryakov 2009-09-11 10:39:40 PDT
This is partially covered by bug 12250, which has an unfortunate mismatch between title and actual content.
Comment 3 Ryosuke Niwa 2011-09-26 11:39:28 PDT

*** This bug has been marked as a duplicate of bug 12250 ***