<?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>197187</bug_id>
          
          <creation_ts>2019-04-22 22:52:19 -0700</creation_ts>
          <short_desc>Deleting a line break before a line which starts with non-editable content removes the entire line</short_desc>
          <delta_ts>2024-06-29 04:41:17 -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>WebKit 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>GoogleBug</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>9638</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1529527</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-04-22 22:52:19 -0700</bug_when>
    <thetext>When deleting the line break immediately before a non editable content
will remove the non-editable content and succeeding content in the same line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1529528</commentid>
    <comment_count>1</comment_count>
      <attachid>368014</attachid>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-04-22 22:52:29 -0700</bug_when>
    <thetext>Created attachment 368014
Demo</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1529529</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2019-04-22 22:52:55 -0700</bug_when>
    <thetext>This affects Gmail.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2043752</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2024-06-29 04:41:17 -0700</bug_when>
    <thetext>*** Safari Technology Preview 197 ***

It deletes second line and move caret above after &apos;hello&apos;

*** Chrome Canary 128 ***

Same as Safari

*** Firefox Nightly 12( ***

Caret is after `hello` with one space and just space get deleted while hello and `World WebKit` remains.

__

Just wanted to share current behavior across browsers.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>368014</attachid>
            <date>2019-04-22 22:52:29 -0700</date>
            <delta_ts>2019-04-22 22:52:29 -0700</delta_ts>
            <desc>Demo</desc>
            <filename>delete-before-non-contenteditable.html</filename>
            <type>text/html</type>
            <size>347</size>
            <attacher name="Ryosuke Niwa">rniwa</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8Ym9keT4KPGRpdiBpZD0iZWRpdG9yIiBjb250ZW50ZWRp
dGFibGU9InRydWUiPgogICAgPGRpdj4KICAgIGhlbGxvCiAgICA8L2Rpdj4KICAgIDxkaXY+CiAg
ICA8c3BhbiBjb250ZW50ZWRpdGFibGU9ImZhbHNlIj4KICAgIHdvcmxkCiAgICA8L3NwYW4+CiAg
ICBXZWJLaXQKICAgIDwvZGl2Pgo8L2Rpdj4KPHNjcmlwdD4KCmVkaXRvci5mb2N1cygpOwpnZXRT
ZWxlY3Rpb24oKS5zZXRQb3NpdGlvbihlZGl0b3IsIDIpOwoKc2V0VGltZW91dCgoKSA9PiBkb2N1
bWVudC5leGVjQ29tbWFuZCgnZGVsZXRlJyksIDEwMDApOwoKPC9zY3JpcHQ+CjwvYm9keT4KPC9o
dG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>