Bug 73294

Summary: Selection stays when clicking inside an iframe.
Product: WebKit Reporter: jakub_swiderski
Component: FramesAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
sample html file showing the problem none

Description jakub_swiderski 2011-11-29 01:33:36 PST
1. Open sample attached to this ticket.
2. Select some text with a mouse and click inside an iframe or select some text inside an iframe and click on text on page.
3. You will notice that grayed selection (shadow of selection) stays.
4. This gives the false impression that text is still selected and that you can copy it or delete it. Of coure when doing so text won't  get copied nor deleted. What is more pressing backspace will work as back button. 
This can be very annoying for some users especially those who use small mobile devices where it is easy to click outside or inside an iframe after selecting some text.

The above test case is applicable for online editors like <a href="http://ckeditor.com/demo">CKEditor</a>.
Comment 1 jakub_swiderski 2011-11-29 03:12:33 PST
Created attachment 116936 [details]
sample html file showing the problem