<?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>15310</bug_id>
          
          <creation_ts>2011-12-22 02:57:24 +0000</creation_ts>
          <short_desc>[Shadow]: Formalize insertion points and shadow insertion points in fallback content in the algorithm</short_desc>
          <delta_ts>2011-12-26 18:27:58 +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>14978</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominic Cooney">dominicc</reporter>
          <assigned_to name="Dimitri Glazkov">dglazkov</assigned_to>
          
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>61923</commentid>
    <comment_count>0</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2011-12-22 02:57:24 +0000</bug_when>
    <thetext>The tree composition algorithm states: &lt;http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#dfn-tree-composition&gt;

&quot;The insertion points or shadow insertion points in fallback content must not participate in composition.&quot;

This should be clarified by formalizing it in the algorithm or clarifying the meaning of “insertion point” and “shadow insertion point”.

For example, is the distribution algorithm when referred to by the tree composition algorithm in step 4.2 thus part of composition, or separate to it? If it is separate, then

&lt;content select=&quot;a&quot;&gt;
  &lt;content select=&quot;b&quot;&gt;&lt;/content&gt;
&lt;/content&gt;

is a way to say “distribute a and b here; if there are a, output them, otherwise output b.”

If the distribution algorithm is a sub-part of composition then per the prose regulation the meaning is roughly &quot;distribute a here; if there are a, output them.”

This should be clarified by formalizing the prose regulation in the algorithm. For example, if the intended meaning is the latter, then the term “insertion point” could be tweaked to include ”…that does not have any insertion point as an ancestor.”</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61952</commentid>
    <comment_count>1</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2011-12-22 19:20:45 +0000</bug_when>
    <thetext>I think I got it: http://dvcs.w3.org/hg/webcomponents/rev/fbaafbc9277a

In order to avoid cyclic references, I had to define the concept of &quot;active&quot; and &quot;inactive&quot; insertion point. WDYT?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62024</commentid>
    <comment_count>2</comment_count>
    <who name="Dominic Cooney">dominicc</who>
    <bug_when>2011-12-26 02:27:57 +0000</bug_when>
    <thetext>Yes—active and inactive have made this clear.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62031</commentid>
    <comment_count>3</comment_count>
    <who name="Dimitri Glazkov">dglazkov</who>
    <bug_when>2011-12-26 18:27:58 +0000</bug_when>
    <thetext>yay!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>