<?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>18415</bug_id>
          
          <creation_ts>2012-07-26 16:36:59 +0000</creation_ts>
          <short_desc>[Shadow]: Focus navigation and distributed nodes</short_desc>
          <delta_ts>2012-10-03 21:43:41 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          
          <blocked>18428</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dimitri Glazkov">dglazkov</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          <cc>bugs</cc>
    
    <cc>hayato</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71521</commentid>
    <comment_count>0</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-07-26 16:36:59 +0000</bug_when>
    <thetext>See https://bugs.webkit.org/show_bug.cgi?id=92050 for a detailed discussion.

The gist is that &quot;tabindex&quot; on distributed nodes indicates that the author is attempting to include them into the document navigation order, not shadow DOM subtree navigation order, but the heuristic for  understanding what to do with the shadow DOM subtree navigation order in this case is weak.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71563</commentid>
    <comment_count>1</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2012-07-27 02:13:43 +0000</bug_when>
    <thetext>I remembered that &apos;tabscope&apos; was proposed to whatwg last year.
http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2011-November/033775.html

That brings me one idea:

1. If a shadow host has &apos;tabscope&apos; attribute, distributed nodes join the focus navigation of shadow DOM subtree.
2. Otherwise, distributed nodes join the focus navigation of outer document order.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71564</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2012-07-27 02:22:12 +0000</bug_when>
    <thetext>s/tabscope/tabindexscope/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71631</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-07-27 22:38:19 +0000</bug_when>
    <thetext>Ooh, interesting. Let me dig into this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73203</commentid>
    <comment_count>4</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-09-04 22:41:04 +0000</bug_when>
    <thetext>Here&apos;s my proposal:

1) Change the spec to make distributed nodes participate in the outer navigation order.
2) Let other tools in HTML (such as tabscope) to deal with scoping of navigation order in other ways.

WDYT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73207</commentid>
    <comment_count>5</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2012-09-04 23:39:35 +0000</bug_when>
    <thetext>Sounds reasonable for me. My proposal of #1 is same to that. Let&apos;s update the spec.

(In reply to comment #4)
&gt; Here&apos;s my proposal:
&gt; 
&gt; 1) Change the spec to make distributed nodes participate in the outer
&gt; navigation order.
&gt; 2) Let other tools in HTML (such as tabscope) to deal with scoping of
&gt; navigation order in other ways.
&gt; 
&gt; WDYT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73211</commentid>
    <comment_count>6</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2012-09-05 07:07:16 +0000</bug_when>
    <thetext>What is a distributed node? ( Not definee in Shadow DOM draft )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73212</commentid>
    <comment_count>7</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2012-09-05 08:38:30 +0000</bug_when>
    <thetext>That are the children of a shadow host, distributed to the insertion points.

(In reply to comment #6)
&gt; What is a distributed node? ( Not definee in Shadow DOM draft )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73235</commentid>
    <comment_count>8</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-09-05 15:58:19 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; What is a distributed node? ( Not definee in Shadow DOM draft )

Yes, I was wrong in terminology. They are child nodes, distributed to insertion points.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75259</commentid>
    <comment_count>9</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2012-10-03 21:43:41 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/webcomponents/rev/213b8553fb0c</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>