Bug 29125

Summary: Images cannot be selected in documents with designMode enabled
Product: WebKit Reporter: Mihai Sucan <mihai.sucan>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: michael.vm, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: All   
URL: http://www.robodesign.ro/coding/0065/
Attachments:
Description Flags
test case none

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 ***