<?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>232891</bug_id>
          
          <creation_ts>2021-11-09 10:02:46 -0800</creation_ts>
          <short_desc>Dragging the start of a selection from within a contenteditable=true to a nested contenteditable=false collapses it</short_desc>
          <delta_ts>2022-04-25 12:42:09 -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>Safari 15</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 15</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jordan Scales">scalesjordan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>megan_gardner</cc>
    
    <cc>mihaip</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1813204</commentid>
    <comment_count>0</comment_count>
      <attachid>443701</attachid>
    <who name="Jordan Scales">scalesjordan</who>
    <bug_when>2021-11-09 10:02:46 -0800</bug_when>
    <thetext>Created attachment 443701
Minimum repro of the behavior.

Minimum repro: https://output.jsbin.com/ludusuf
User agent string: Mozilla/5.0 (iPhone; CPU iPhone OS 15_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Mobile/15E148 Safari/604.1

Within an element with contenteditable=true after making a selection:

1. If we extend the &quot;end&quot; of the selection over an element with contenteditable=false, the selection proceeds smoothly and can be later modified.
2. If we extend the &quot;start&quot; of the selection over an element with contenteditable=false, the selection disappears and does not return.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1813226</commentid>
    <comment_count>1</comment_count>
    <who name="Jordan Scales">scalesjordan</who>
    <bug_when>2021-11-09 11:04:45 -0800</bug_when>
    <thetext>Apologies - in the attached repro instructions the text which reads

&gt; Not working
&gt; On an iOS device, select some text from the left section

Should read

&gt; Not working
&gt; On an iOS device, select some text from the right section</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1815542</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-11-16 10:03:23 -0800</bug_when>
    <thetext>&lt;rdar://problem/85463524&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840589</commentid>
    <comment_count>3</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-11 15:08:02 -0800</bug_when>
    <thetext>The fix for this issue was needed outside the WebKit project, therefore this is being resolved as &apos;Moved&apos;.

This issue should be fixed in an upcoming iOS 15.4 Beta.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1864191</commentid>
    <comment_count>4</comment_count>
    <who name="Jordan Scales">scalesjordan</who>
    <bug_when>2022-04-25 12:42:09 -0700</bug_when>
    <thetext>Issue still appears in 15.5 beta for me. Was the fix delayed?</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>443701</attachid>
            <date>2021-11-09 10:02:46 -0800</date>
            <delta_ts>2021-11-09 10:02:46 -0800</delta_ts>
            <desc>Minimum repro of the behavior.</desc>
            <filename>contenteditable.html</filename>
            <type>text/html</type>
            <size>1201</size>
            <attacher name="Jordan Scales">scalesjordan</attacher>
            
              <data encoding="base64">PC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