Skip to content

Commit 9c20952

Browse files
aygannevk
authored andcommitted
<a> and <area> are not window named objects
This was missed in whatwg#1869.
1 parent 0b31844 commit 9c20952

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

source

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9547,6 +9547,7 @@ partial interface <dfn id="document" data-lt="">Document</dfn> {
95479547
and with values from <code data-x="attr-id">id</code> attributes coming before values from <code
95489548
data-x="">name</code> attributes when the same element contributes both:</p>
95499549

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

96179618
<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>
96189619

9620+
<!-- KEEP THIS LIST IN SYNC WITH SUPPORTED PROPERTY VALUES ABOVE -->
96199621
<ul>
9620-
96219622
<li><span>Exposed</span> <code>embed</code>, <code>form</code>, <code>iframe</code>,
96229623
<code>img</code>, or <span>exposed</span> <code>object</code> elements that have a <code
96239624
data-x="">name</code> content attribute whose value is <var>name</var>, or</li>
@@ -9628,7 +9629,6 @@ partial interface <dfn id="document" data-lt="">Document</dfn> {
96289629
<li><code>img</code> elements that have an <code data-x="attr-id">id</code> content attribute
96299630
whose value is <var>name</var>, and that have a non-empty <code data-x="">name</code>
96309631
content attribute present also.</li>
9631-
96329632
</ul>
96339633

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

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

78643+
<!-- KEEP THIS LIST IN SYNC WITH SUPPORTED PROPERTY NAMES ABOVE -->
7864278644
<ul>
78643-
7864478645
<li><p><span data-x="document-tree child browsing context">document-tree child browsing
7864578646
contexts</span> of the <span>active document</span> whose name is <var>name</var>;</p></li>
7864678647

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

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

7865978658
</div>

0 commit comments

Comments
 (0)