Skip to content

Commit

Permalink
Handle setting id to the empty string https://www.w3.org/Bugs/Public/…
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed May 14, 2014
1 parent c2619e7 commit 967552c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Overview.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -4799,6 +4799,7 @@ <h3>Interface <code>Document</code></h3>
<li><p>Let <var title>event</var> be the result of
<span title=concept-event-constructor>invoking</span> <var title>constructor</var> with
the empty string as argument.
<!-- XXX need to make sure this is the original constructor, not whatever is on Window -->

<li><p>Unset <var title>event</var>'s <span>initialized flag</span>.

Expand Down Expand Up @@ -5420,7 +5421,8 @@ <h3>Interface <code>Element</code></h3>

<p>When an <span title=concept-element>element</span>'s
<span title=concept-named-attribute><code>id</code> attribute</span> is
<span title="attribute is removed">removed</span>, unset the
<span title="attribute is removed">removed</span> or
<span title="attribute is set">set</span> to the empty string, unset the
<span title=concept-element>element</span>'s
<span title=concept-id>ID</span>.

Expand Down
8 changes: 5 additions & 3 deletions dom-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<hgroup>
<h1 class="allcaps">DOM</h1>
<h2>Living Standard — Last Updated 7 May 2014</h2>
<h2>Living Standard — Last Updated 14 May 2014</h2>
</hgroup>

<dl>
Expand Down Expand Up @@ -44,7 +44,7 @@ <h2>Living Standard — Last Updated 7 May 2014</h2>
<p class="copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
To the extent possible under law, the editors have waived all copyright and
related or neighboring rights to this work. In addition, as of
7 May 2014, the editors have made this specification available
14 May 2014, the editors have made this specification available
under the
<a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
which is available at
Expand Down Expand Up @@ -4875,6 +4875,7 @@ <h3 id="interface-document"><span class="secno">5.5 </span>Interface <code><a hr
<li><p>Let <var title="">event</var> be the result of
<a href="#concept-event-constructor" title="concept-event-constructor">invoking</a> <var title="">constructor</var> with
the empty string as argument.
<!-- XXX need to make sure this is the original constructor, not whatever is on Window -->

<li><p>Unset <var title="">event</var>'s <a href="#initialized-flag">initialized flag</a>.

Expand Down Expand Up @@ -5494,7 +5495,8 @@ <h3 id="interface-element"><span class="secno">5.8 </span>Interface <code><a hre

<p>When an <a href="#concept-element" title="concept-element">element</a>'s
<a href="#concept-named-attribute" title="concept-named-attribute"><code>id</code> attribute</a> is
<a href="#attribute-is-removed" title="attribute is removed">removed</a>, unset the
<a href="#attribute-is-removed" title="attribute is removed">removed</a> or
<a href="#attribute-is-set" title="attribute is set">set</a> to the empty string, unset the
<a href="#concept-element" title="concept-element">element</a>'s
<a href="#concept-id" title="concept-id">ID</a>.

Expand Down

0 comments on commit 967552c

Please sign in to comment.