<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25617</bug_id>
          
          <creation_ts>2014-05-08 23:57:24 +0000</creation_ts>
          <short_desc>This is not entirely clear on what happens if contentEditable elements contain elements that are not contentEditable - what happens if the user wants to delete the non-editable element?</short_desc>
          <delta_ts>2014-05-12 12:46:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#contenteditable</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>groby</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105514</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-05-08 23:57:24 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html
Multipage: http://www.whatwg.org/C#contenteditable
Complete: http://www.whatwg.org/c#contenteditable
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
This is not entirely clear on what happens if contentEditable elements contain
elements that are not contentEditable - what happens if the user wants to
delete the non-editable element?

I&apos;d expect the correct answer is &quot;the element will be deleted, since the
container is editable&quot;.

Posted from: 74.125.59.177
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1982.0 Safari/537.36</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105547</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-05-09 17:28:13 +0000</bug_when>
    <thetext>I believe this is covered by the HTML Editing APIs spec:
   https://dvcs.w3.org/hg/editing/raw-file/tip/editing.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105574</commentid>
    <comment_count>2</comment_count>
    <who name="Rachel Blum">groby</who>
    <bug_when>2014-05-09 20:09:17 +0000</bug_when>
    <thetext>It probably does, thanks for pointing me there. (Still parsing the spec, will file bug on editing spec if it turns out it doesn&apos;t cover case in question)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>