Skip to content

Commit

Permalink
<a> and <area> are not window named objects
Browse files Browse the repository at this point in the history
This was missed in #1869.
  • Loading branch information
ayg authored and annevk committed Sep 6, 2017
1 parent 0b31844 commit 9c20952
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions source
Expand Up @@ -9547,6 +9547,7 @@ partial interface <dfn id="document" data-lt="">Document</dfn> {
and with values from <code data-x="attr-id">id</code> attributes coming before values from <code
data-x="">name</code> attributes when the same element contributes both:</p>

<!-- KEEP THIS LIST IN SYNC WITH "NAMED ELEMENTS" DEFINITION BELOW -->
<ul>
<li><p>the value of the <code data-x="">name</code> content attribute for all
<span>exposed</span> <code>embed</code>, <code>form</code>, <code>iframe</code>,
Expand Down Expand Up @@ -9616,8 +9617,8 @@ partial interface <dfn id="document" data-lt="">Document</dfn> {

<p><dfn data-x="dom-document-nameditem-filter">Named elements</dfn> with the name <var>name</var>, for the purposes of the above algorithm, are those that are either:</p>

<!-- KEEP THIS LIST IN SYNC WITH SUPPORTED PROPERTY VALUES ABOVE -->
<ul>

<li><span>Exposed</span> <code>embed</code>, <code>form</code>, <code>iframe</code>,
<code>img</code>, or <span>exposed</span> <code>object</code> elements that have a <code
data-x="">name</code> content attribute whose value is <var>name</var>, or</li>
Expand All @@ -9628,7 +9629,6 @@ partial interface <dfn id="document" data-lt="">Document</dfn> {
<li><code>img</code> elements that have an <code data-x="attr-id">id</code> content attribute
whose value is <var>name</var>, and that have a non-empty <code data-x="">name</code>
content attribute present also.</li>

</ul>

<p>An <code>embed</code> or <code>object</code> element is said to be <dfn>exposed</dfn> if it has
Expand Down Expand Up @@ -78575,6 +78575,7 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
<var>window</var> at any moment consist of the following, in <span>tree order</span> according to
the element that contributed them, ignoring later duplicates:</p>

<!-- KEEP THIS LIST IN SYNC WITH "NAMED OBJECTS" BELOW -->
<ul>
<li><p><var>window</var>'s <span>document-tree child browsing context name property
set</span>;</p></li>
Expand Down Expand Up @@ -78639,21 +78640,19 @@ callback <dfn>FrameRequestCallback</dfn> = void (<span>DOMHighResTimeStamp</span
<p><dfn data-x="dom-window-nameditem-filter">Named objects</dfn> with the name <var>name</var>,
for the purposes of the above algorithm, consist of the following:</p>

<!-- KEEP THIS LIST IN SYNC WITH SUPPORTED PROPERTY NAMES ABOVE -->
<ul>

<li><p><span data-x="document-tree child browsing context">document-tree child browsing
contexts</span> of the <span>active document</span> whose name is <var>name</var>;</p></li>

<li><p><code>a</code>, <code>area</code>, <code>embed</code>, <code>form</code>,
<code>frameset</code>, <code>img</code>, or <code>object</code> elements that have a <code
data-x="">name</code> content attribute whose value is <var>name</var> and are <span>in a
document tree</span> with the <span>active document</span> as their <span>root</span>;
and</p></li>
<li><p><code>embed</code>, <code>form</code>, <code>frameset</code>, <code>img</code>, or
<code>object</code> elements that have a <code data-x="">name</code> content attribute whose
value is <var>name</var> and are <span>in a document tree</span> with the <span>active
document</span> as their <span>root</span>; and</p></li>

<li><p><span>HTML elements</span> that have an <code data-x="attr-id">id</code> content attribute
whose value is <var>name</var> and are <span>in a document tree</span> with the <span>active
document</span> as their <span>root</span>.</p></li>

</ul>

</div>
Expand Down

0 comments on commit 9c20952

Please sign in to comment.