<?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>8497</bug_id>
          
          <creation_ts>2006-04-20 04:13:30 -0700</creation_ts>
          <short_desc>Editable Area loses selection when losing focus</short_desc>
          <delta_ts>2006-07-18 04:31:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>HTML Editing</component>
          <version>417.x</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>9642</dup_id>
          
          <bug_file_loc>http://www.fredck.com/bugs/safari/iframefocus/iframefocus.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>9915</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter>webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ddkilzer</cc>
    
    <cc>ian</cc>
    
    <cc>mrowe</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39910</commentid>
    <comment_count>0</comment_count>
    <who name="">webkit</who>
    <bug_when>2006-04-20 04:13:30 -0700</bug_when>
    <thetext>When defining an IFRAME with an editable document, clicking outside the IFRAME and then calling IFRAME.focus(), the caret is placed in the beginning of the editable area and the previous selection is lost.

The URL shows a simple test case for it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39911</commentid>
    <comment_count>1</comment_count>
      <attachid>7848</attachid>
    <who name="">webkit</who>
    <bug_when>2006-04-20 04:14:48 -0700</bug_when>
    <thetext>Created attachment 7848
Test Case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48006</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2006-07-02 07:13:41 -0700</bug_when>
    <thetext>Confirmed in WebKit 418.8 and the latest nightly. The behaviour differs slightly in the nightly in that the selection is correctly rendered as inactive when it loses focus, but upon restoration of focus the selection is still lost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50206</commentid>
    <comment_count>3</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-17 15:14:57 -0700</bug_when>
    <thetext>This bug sounds very similar to Bug 9642.

Please check a nightly WebKit build on or after r15487 (Bug 9642 Comment #7) to see if this is fixed.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50235</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-17 21:41:01 -0700</bug_when>
    <thetext>This appears to be fixed now.  Tested with a locally-built r15495.  Going to mark it a duplicate of Bug 9642.



*** This bug has been marked as a duplicate of 9642 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50259</commentid>
    <comment_count>5</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-18 04:15:40 -0700</bug_when>
    <thetext>NOTE: I filed Bug 9982 for the blue/green background that appears in the test case on WebKit nightly builds.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50264</commentid>
    <comment_count>6</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2006-07-18 04:31:04 -0700</bug_when>
    <thetext>Bug 9984 is also related (I found an assertion failure working with the test case from this bug).

</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>7848</attachid>
            <date>2006-04-20 04:14:48 -0700</date>
            <delta_ts>2006-04-20 04:14:48 -0700</delta_ts>
            <desc>Test Case</desc>
            <filename>iframefocus.zip</filename>
            <type>application/octet-stream</type>
            <size>1258</size>
            <attacher>webkit</attacher>
            
              <data encoding="base64">UEsDBBQAAAAIAI1klDQKSVRi8AAAAGEBAAANAAAAZWRpdGFyZWEuaHRtbG2OQU/DMAyFzyDxH0wv
Oy2m2qmQ7kA7CaQNKtQJOGZL1Aa1SdUY2v17krYHDkiWbNnfe8/8Nn/Nys9iBzW1DRTHx/1zBtEa
8X2TIeZlDh9P5WEPMbuDshfGadLWiAZx9xJBVBN194jDMLBhw2xfYfmGY/CKg3gZ1/RHySTJaHtz
zafEsW2MS//xiZMkmeUzrIT0/YqTpkZtj2bqEgpRKY7zMpzdudcdAV06lUakRsIv8SPmbTDyjLTn
71YZYlI5XZmDlQpSWFmzgocJ4DjzIReXYH6y8hISylo78OVsq0BJTeLUKAhJLOAL5nX+cz/8AlBL
AwQUAAAACAAxaZQ0Fpu6wBIDAADlBQAAEAAAAGlmcmFtZWZvY3VzLmh0bWx9VO9v2zYQ/ewA+R9u
BIbIQCI6K/YhjewhP1wsQLcUq4u0H2npJHGlSIGkLBvD/vcdRcVRhqCGAPHMu/ce3/GU/XT/eLf5
9mkNtW8UfPpy+/HhDtgF50/v7ji/39zD1983f3yEy3QBGyu0k14aLRTn6z8ZsNr79j3nfd+n/bvU
2Ipv/uL7gHUZisflhZ9UpoUv2Or0JBsY943SbvkGzuXV1VUsj8koCnrPMi+9wtVtVzm4gM+iFFbS
4uGDFQ3CB5N3LuMxJ2S73MrWgz+0uGQe957/LXYi/htwT0/KTudBWKxN5qcn/1DhTljAEXQJBW01
qH1aoV8rDMvbw0ORnO3XhfQ3FsXZHK6pjB5ZQgJa7GQlvLFp59DeVKFW6gL3j2UCZ1H1GcxhtYQF
EOVsNpKlZVQB17Pw4xw2tXRAj6/x+bi9OEBitDrMUypF5XCKkBvtie+J+Ew/xXsGMxoDoDYeXNe2
xnosYHt4Rk8E7dRoYdtVv4Gx0IjDF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