<?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>16095</bug_id>
          
          <creation_ts>2012-02-23 22:00:04 +0000</creation_ts>
          <short_desc>Element with contenteditable=true shouldn&apos;t be considered as an editing host if it&apos;s already in an editable region</short_desc>
          <delta_ts>2015-07-30 23:47:09 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - HTML Editing APIs</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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="Aryeh Gregor">ayg</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          <deadline>2015-07-30</deadline>
          <qa_contact name="HTML Editing APIs spec bugbot">sideshowbarker+html-editing-api</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64507</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2012-02-23 22:00:04 +0000</bug_when>
    <thetext>This is a request to match the original HTML5 spec definition of the editing host.

Elements with contenteditable=true shouldn&apos;t define a new editing host unless the element is in a non-editable region (i.e. it doesn&apos;t have an editing host of its own). This matches the way CSS inheritance and computed value works.

WebKit can&apos;t implement the current definition of editing host since we use CSS style resolver to decide whether a given element is an editing host or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64537</commentid>
    <comment_count>1</comment_count>
    <who name="Aryeh Gregor">ayg</who>
    <bug_when>2012-02-24 14:02:15 +0000</bug_when>
    <thetext>I&apos;m not going to necessarily restrict my spec to only things WebKit can do with its current implementation of editability.  WebKit can&apos;t do :read-write correctly either right now, but we aren&apos;t going to say :read-write doesn&apos;t match editable elements just because selectors can&apos;t depend on computed values.

However, the behavior you describe makes sense.  It seems to match Gecko too.  It does prevent some possible use-cases I had in mind, but you can emulate them with an extra contenteditable=false wrapper if you want.  So I&apos;m okay with changing the spec here.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>