<?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>61094</bug_id>
          
          <creation_ts>2011-05-18 14:51:35 -0700</creation_ts>
          <short_desc>InsertingParagraph does not move content if ran at a text node boundary</short_desc>
          <delta_ts>2017-07-18 08:29:58 -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>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</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>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ayg</cc>
    
    <cc>enrica</cc>
    
    <cc>sullivan</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>406036</commentid>
    <comment_count>0</comment_count>
      <attachid>93986</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-05-18 14:51:35 -0700</bug_when>
    <thetext>Created attachment 93986
demo

When execCommand(&apos;InsertParagraph&apos;) is executed at a text node boundary, WebKit doesn&apos;t move the text node that appears after the caret into the new line.  So it appears as if the caret jumped across the text node and inserted a paragraph after the text node.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406039</commentid>
    <comment_count>1</comment_count>
      <attachid>93988</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-05-18 14:52:31 -0700</bug_when>
    <thetext>Created attachment 93988
demo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>454078</commentid>
    <comment_count>2</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2011-08-19 14:10:48 -0700</bug_when>
    <thetext>What are the expected/actual results here?  The result looks correct to me in Chrome 15.0.849.0 dev.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="0"
              isprivate="0"
          >
            <attachid>93986</attachid>
            <date>2011-05-18 14:51:35 -0700</date>
            <delta_ts>2011-05-18 14:52:31 -0700</delta_ts>
            <desc>demo</desc>
            <filename>new-line-in-list.html</filename>
            <type>text/html</type>
            <size>349</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8Ym9keT4KPGRpdiBpZD0idGVzdCIgY29udGVudGVkaXRh
YmxlPgo8dWw+CjxsaT48c3Bhbj5oZWxsbzxicj53b3JsZDxicj48L3NwYW4+PC9saT4KPC91bD4K
PC9kaXY+CjxzY3JpcHQ+Cgp3aW5kb3cuZ2V0U2VsZWN0aW9uKCkuc2V0UG9zaXRpb24oZG9jdW1l
bnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2JyJylbMF0ubmV4dFNpYmxpbmcsIDApOwpkb2N1bWVu
dC5leGVjQ29tbWFuZCgnRGVsZXRlJywgZmFsc2UsIG51bGwpOwovL2RvY3VtZW50LmV4ZWNDb21t
YW5kKCdJbnNlcnRQYXJhZ3JhcGgnLCBmYWxzZSwgbnVsbCk7Cgo8L3NjcmlwdD4KPC9ib2R5Pgo8
L2h0bWw+Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>93988</attachid>
            <date>2011-05-18 14:52:31 -0700</date>
            <delta_ts>2011-05-18 14:52:31 -0700</delta_ts>
            <desc>demo</desc>
            <filename>new-line-in-list.html</filename>
            <type>text/html</type>
            <size>347</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8Ym9keT4KPGRpdiBpZD0idGVzdCIgY29udGVudGVkaXRh
YmxlPgo8dWw+CjxsaT48c3Bhbj5oZWxsbzxicj53b3JsZDxicj48L3NwYW4+PC9saT4KPC91bD4K
PC9kaXY+CjxzY3JpcHQ+Cgp3aW5kb3cuZ2V0U2VsZWN0aW9uKCkuc2V0UG9zaXRpb24oZG9jdW1l
bnQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2JyJylbMF0ubmV4dFNpYmxpbmcsIDApOwpkb2N1bWVu
dC5leGVjQ29tbWFuZCgnRGVsZXRlJywgZmFsc2UsIG51bGwpOwpkb2N1bWVudC5leGVjQ29tbWFu
ZCgnSW5zZXJ0UGFyYWdyYXBoJywgZmFsc2UsIG51bGwpOwoKPC9zY3JpcHQ+CjwvYm9keT4KPC9o
dG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>