Bug 73294 - Selection stays when clicking inside an iframe.
Summary: Selection stays when clicking inside an iframe.
Alias: None
Product: WebKit
Classification: Unclassified
Component: Frames (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-11-29 01:33 PST by jakub_swiderski
Modified: 2011-11-29 03:12 PST (History)
0 users

See Also:

sample html file showing the problem (1.10 KB, text/html)
2011-11-29 03:12 PST, jakub_swiderski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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