<?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>136629</bug_id>
          
          <creation_ts>2014-09-08 07:13:05 -0700</creation_ts>
          <short_desc>In ContentEditable when backspacing from one paragraph to the previous one removes all contenteditable=&quot;false&quot; elements</short_desc>
          <delta_ts>2022-05-31 20:14:49 -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>Mac</rep_platform>
          <op_sys>OS X 10.9</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</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="Pat O&apos;Callaghan">patocallaghan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>enrica</cc>
    
    <cc>rniwa</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1033844</commentid>
    <comment_count>0</comment_count>
      <attachid>237783</attachid>
    <who name="Pat O&apos;Callaghan">patocallaghan</who>
    <bug_when>2014-09-08 07:13:05 -0700</bug_when>
    <thetext>Created attachment 237783
Test case showing the ContentEditable backspace bug

FIREFOX 32 - PASS
CHROME 37.0.2062.94 - PASS
SAFARI 7.0.6 (9537.78.2) - FAIL

When backspacing between two paragraphs and the second paragraph contains elements with contenteditable=false, these elements are deleted.

STEPS TO REPRODUCE
1. Create multiple paragraphs within a contenteditable element
2. Within one of the paragraphs create some contenteditable=false elements.
3. Place your cursor at the start of the second paragraph
4. Press Backspace

EXPECTED RESULTS
The two paragraphs should join to become a single paragraph with all of the original content

WHAT ACTUALLY HAPPENS
The two paragraphs join to become a single paragraph but all content from the contenteditable=false element forwards is deleted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873155</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-05-31 15:26:08 -0700</bug_when>
    <thetext>I am unable to reproduce the following in Safari 15.5 on macOS 12.4 using attached test case. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873213</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2022-05-31 20:14:49 -0700</bug_when>
    <thetext>Thank you for checking, I&apos;m also unable to reproduce.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>237783</attachid>
            <date>2014-09-08 07:13:05 -0700</date>
            <delta_ts>2014-09-08 07:13:05 -0700</delta_ts>
            <desc>Test case showing the ContentEditable backspace bug</desc>
            <filename>safari_contenteditable_backspace.html</filename>
            <type>text/html</type>
            <size>400</size>
            <attacher name="Pat O&apos;Callaghan">patocallaghan</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICA8bWV0YSBjaGFyc2V0PSJ1dGYtOCI+CiAg
PHRpdGxlPkpTIEJpbjwvdGl0bGU+CjwvaGVhZD4KPGJvZHk+CiAgPGRpdiBjb250ZW50ZWRpdGFi
bGUgc3R5bGU9ImJhY2tncm91bmQ6ICNlZWU7Ij4KICAgIDxwPlBsYWNlIHlvdXIgY3Vyc29yIGF0
IHRoZSBzdGFydCBvZiB0aGUgc2Vjb25kIGxpbmUgYW5kIGhpdCBiYWNrc3BhY2UuPC9wPgogICAg
PHA+VGhlIHR3byBsaW5lcyB3aWxsIGpvaW4gYnV0IGluIFNhZmFyaSB0aGUgY29udGVudCBmcm9t
IDxzcGFuIGNvbnRlbnRlZGl0YWJsZT0iZmFsc2UiIHN0eWxlPSJjb2xvcjogcmVkOyI+SGVyZTwv
c3Bhbj4gb253YXJkcyB3aWxsIGRpc2FwcGVhcjwvcD4KICA8L2Rpdj4KPC9ib2R5Pgo8L2h0bWw+
Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>