<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>73294</bug_id>
          
          <creation_ts>2011-11-29 01:33:36 -0800</creation_ts>
          <short_desc>Selection stays when clicking inside an iframe.</short_desc>
          <delta_ts>2011-11-29 03:12:33 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>jakub_swiderski</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>510597</commentid>
    <comment_count>0</comment_count>
    <who name="">jakub_swiderski</who>
    <bug_when>2011-11-29 01:33:36 -0800</bug_when>
    <thetext>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&apos;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 &lt;a href=&quot;http://ckeditor.com/demo&quot;&gt;CKEditor&lt;/a&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>510660</commentid>
    <comment_count>1</comment_count>
      <attachid>116936</attachid>
    <who name="">jakub_swiderski</who>
    <bug_when>2011-11-29 03:12:33 -0800</bug_when>
    <thetext>Created attachment 116936
sample html file showing the problem</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>116936</attachid>
            <date>2011-11-29 03:12:33 -0800</date>
            <delta_ts>2011-11-29 03:12:33 -0800</delta_ts>
            <desc>sample html file showing the problem</desc>
            <filename>iframe_selection.html</filename>
            <type>text/html</type>
            <size>1122</size>
            <attacher>jakub_swiderski</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBYSFRNTCAxLjAgVHJhbnNpdGlvbmFs
Ly9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL3hodG1sMS9EVEQveGh0bWwxLXRyYW5zaXRpb25h
bC5kdGQiPg0KPGh0bWw+DQoJIDxoZWFkPg0KCQk8bWV0YSBodHRwLWVxdWl2PSJjb250ZW50LXR5
cGUiIGNvbnRlbnQ9InRleHQvaHRtbDsgY2hhcnNldD1VVEYtOCIgLz4NCgkJPHRpdGxlPnRlc3Qg
cGFnZTwvdGl0bGU+DQoJICA8L2hlYWQ+DQo8Ym9keT4NCjxwPlNlbGVjdCB0aGlzIHRleHQgd2l0
aCBhIG1vdXNlIGFuZCBjbGljayBpbnNpZGUgYW4gaWZyYW1lPC9wPiANCjxpZnJhbWUgc3JjPSJo
dHRwOi8vY2tzb3VyY2UuY29tL2Fib3V0IiBmcmFtZWJvcmRlcj0iMSIgaGVpZ2h0PSI2MDBweCIg
c2Nyb2xsaW5nPSJhdXRvIiB3aWR0aD0iODAwcHgiPjwvaWZyYW1lPg0KPHA+b3Igc2VsZWN0IHNv
bWUgdGV4dCBpbnNpZGUgYW4gaWZyYW1lIGFuZCBjbGljayB0aGlzIHRleHQuPC9wPg0KPHA+WW91
IHdpbGwgbm90aWNlIHR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