Skip to content

Commit

Permalink
Don't set custom element state redundantly
Browse files Browse the repository at this point in the history
As of whatwg/html#1309, this is no longer necessary, as it is taken care of in the Construct(C) step.
  • Loading branch information
domenic authored and annevk committed Jun 1, 2016
1 parent ce21cb5 commit d077da1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions dom.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5723,8 +5723,6 @@ given a <var>document</var>, <var>localName</var>, <var>namespace</var>, and opt
<var>localName</var>, then <a>throw</a> a {{NotSupportedError}}.

<li><p>Set <var>result</var>'s <a for=Element>namespace prefix</a> to <var>prefix</var>.

<li><p>Set <var>result</var>'s <a>custom element state</a> to "<code>custom</code>".
</ol>
</li>

Expand Down
4 changes: 1 addition & 3 deletions dom.html
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@
<p data-fill-with="logo"><a class="logo" href="https://whatwg.org/"> <img alt="WHATWG" height="100" src="https://resources.whatwg.org/logo-dom.svg"> </a> </p>
<hgroup>
<h1 class="p-name no-ref allcaps" id="title">DOM</h1>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Living Standard — Last Updated <time class="dt-updated" datetime="2016-05-31">31 May 2016</time></span></h2>
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Living Standard — Last Updated <time class="dt-updated" datetime="2016-06-01">1 June 2016</time></span></h2>
</hgroup>
<div data-fill-with="spec-metadata">
<dl>
Expand Down Expand Up @@ -3554,8 +3554,6 @@ <h3 class="heading settled" data-level="4.9" id="interface-element"><span class=
<p>If <var>result</var>’s <a data-link-type="dfn" href="#concept-element-local-name">local name</a> is not equal to <var>localName</var>, then <a data-link-type="dfn" href="https://heycam.github.io/webidl/#dfn-throw">throw</a> a <code class="idl"><a data-link-type="idl" href="https://heycam.github.io/webidl/#notsupportederror">NotSupportedError</a></code>. </p>
<li>
<p>Set <var>result</var>’s <a data-link-type="dfn" href="#concept-element-namespace-prefix">namespace prefix</a> to <var>prefix</var>. </p>
<li>
<p>Set <var>result</var>’s <a data-link-type="dfn" href="#concept-element-custom-element-state">custom element state</a> to "<code>custom</code>". </p>
</ol>
<li>
<p>Otherwise: </p>
Expand Down

0 comments on commit d077da1

Please sign in to comment.