Skip to content

Commit

Permalink
[Close WICG#92, WICG#289] Remove <content> elements.
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito authored and kojiishi committed Sep 7, 2015
1 parent f219975 commit c3c26e3
Showing 1 changed file with 0 additions and 57 deletions.
57 changes: 0 additions & 57 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1285,63 +1285,6 @@ <h3>Extensions to <code>Text</code> Interface</h3>
</dl>
</section>

<section>
<h3>The <code>content</code> element</h3>

<p>The <code><dfn lt="content element">content</dfn></code> element represents an <a>insertion point</a> in the <a>shadow tree</a>.</p>

<p>If a <code>content</code> element does not satisfy the condition of an <a>insertion point</a>, it <strong>must</strong> have the same rendering behavior as the <a><code>HTMLUnknownElement</code></a>.</p>

<dl>
<dt>Context</dt>
<dd>Where <a>flow content</a> is expected.</dd>

<dt>Content model</dt>
<dd><a>Transparent</a></dd>

<dt>Children</dt>
<dd>Anything as fallback content</dd>

<dt>Content attributes</dt>
<dd><a>Global attributes</a></dd>
<dd>
<dl>
<dt><code><dfn lt="content element select">select</dfn></code>, a <a lt="comma separated tokens">set of comma-separated tokens</a></dt>
<dd>Represents the <a>matching criteria</a> for <a lt="distribution">distributing</a> child <a lt="node">nodes</a> of the <a>shadow host</a>. Each token <strong>must</strong> be a <a>compound selector</a>.</dd>
</dl>
</dd>

<dt>DOM Interface</dt>
<dd>
<dl class="idl" title="interface HTMLContentElement : HTMLElement">
<dt>attribute DOMString select</dt>
<dd><strong>Must</strong> <a>reflect</a> the <a lt="content element select">select</a> attribute.</dd>

<dt>sequence&lt;Node&gt; getDistributedNodes()</dt>
<dd>
When invoked, it <strong>must</strong> return result of running the following steps:
<ol>
<li>
If the <a>context object</a> is a <a>content insertion point</a>:
<ol>
<li>
Return a <a>sequence</a> consisting of nodes in the <a>distributed nodes</a> of the <a>context object</a>.
</li>
</ol>
</li>
<li>
Otherwise:
<ol>
<li>Return an empty <a>sequence</a>.</li>
</ol>
</li>
</ol>
</dd>
</dl>
</dd>
</dl>
</section>

<section>
<h3>The <code>slot</code> element</h3>

Expand Down

0 comments on commit c3c26e3

Please sign in to comment.