<?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>22898</bug_id>
          
          <creation_ts>2013-08-08 02:11:25 +0000</creation_ts>
          <short_desc>[Shadow]: Consider defining inertness in terms of the composed tree</short_desc>
          <delta_ts>2014-01-24 06:26:40 +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 - Component Model</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>http://jsbin.com/igabal/1/edit</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14978</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Falkenhagen">falken</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>hayato</cc>
    
    <cc>ian</cc>
    
    <cc>morrita</cc>
    
    <cc>ykyyip</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91767</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Falkenhagen">falken</who>
    <bug_when>2013-08-08 02:11:25 +0000</bug_when>
    <thetext>In the HTML spec, any node that is not an ancestor or descendant of the active modal dialog is marked inert.[1]

It seems the ancestor/descendant relation should be based on the composed tree. Otherwise, children that have been transposed into a modal &lt;dialog&gt;&apos;s subtree are considered inert, although they are rendered as if they are real children of the &lt;dialog&gt;. This is surprising to the user interacting with the dialog.

I&apos;m not sure whether ancestor/descendant should be clarified in the HTML spec or the Shadow DOM spec, and whether it should be clarified just for modal dialogs/inertness or more generally.

See also https://code.google.com/p/chromium/issues/detail?id=269842

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/editing.html#inert</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91768</commentid>
    <comment_count>1</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2013-08-08 02:15:43 +0000</bug_when>
    <thetext>Let me quote the my comment form another thread for reference :)

&gt; In the current Shadow DOM spec, we haven&apos;t changed the meaning of ancestors/descendants. It&apos;s a relationship in a node tree.
&gt;
&gt; If we&apos;d express a relationship in the composed tree, I am afraid we must say explicitly &apos;ancestors in the composed tree&apos;.
&gt;
&gt; As for inertness, I&apos;ve recently tried to re-define &apos;inertness&apos; in the Shadow DOM spec, using the concept of the composed tree:
https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#focus-navigation
&gt;
&gt; But I am not confident about the definition of &apos;inertness&apos;, which is now only used in explaining &apos;Focus Navigation&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94581</commentid>
    <comment_count>2</comment_count>
    <who name="Matt Falkenhagen">falken</who>
    <bug_when>2013-10-11 03:04:42 +0000</bug_when>
    <thetext>I&apos;m not sure where the right place to spec this is. The HTML spec defines inert subtrees but there are no references to Shadow DOM in that spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98981</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Falkenhagen">falken</who>
    <bug_when>2014-01-24 06:21:32 +0000</bug_when>
    <thetext>Since Shadow DOM hasn&apos;t changed the meaning of DOM ancestors/descendants, this bug probably won&apos;t be resolved by the Shadow DOM spec. I&apos;ll move this bug to the HTML spec.

I also think there&apos;s some confusion because the HTML and Shadow DOM spec both define the term &quot;inert&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98983</commentid>
    <comment_count>4</comment_count>
    <who name="Matt Falkenhagen">falken</who>
    <bug_when>2014-01-24 06:26:40 +0000</bug_when>
    <thetext>Moved to https://www.w3.org/Bugs/Public/show_bug.cgi?id=24379</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>