Skip to content

Commit

Permalink
[Issue #441] Add a node about ShadowRoot.innerHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
hayatoito committed Mar 16, 2016
1 parent fdcd8e9 commit 7fa281b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions spec/shadow/autolink-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var autolinkConfig = {
'eventPhase': '#dom-event-eventphase',
'getElementById': '#dom-nonelementparentnode-getelementbyid',
'get the parent': '#get-the-parent',
'host': '#concept-documentfragment-host',
'inclusive ancestor': '#concept-tree-inclusive-ancestor',
'interface Document': '#interface-document',
'interface DocumentFragment': '#interface-documentfragment',
Expand Down
5 changes: 5 additions & 0 deletions spec/shadow/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,11 @@ <h3>The <code>ShadowRoot</code> interface</h3>
<li>Let <var>FRAGMENT</var> be the result of invoking the <a data-lt="parse fragment">fragment parsing algorithm</a> [[!DOM-PARSING]] with the new value as <var>MARKUP</var>, and the <a>context object</a> as <a data-lt="shadow host"><code>shadow host</code></a></li>
<li><a>Replace all</a> with <var>FRAGMENT</var> within the <a>shadow root</a>.</li>
</ol>

<p class="note">
Because <code>DocumentFragment</code> does not always have a <a>host</a>, which can be used as the context object in parsing algorithm,
<code>innerHTML</code> can not be defined in <code>DocumentFragment</code>.
</p>
</dd>

<dt>readonly attribute StyleSheetList styleSheets</dt>
Expand Down

0 comments on commit 7fa281b

Please sign in to comment.