Skip to content

Commit

Permalink
Ignore changes to name attributes
Browse files Browse the repository at this point in the history
Name attributes of elements that can create nested browsing contexts (embed, frame, iframe, object) are only to be considered when the nested browsing context is created.

Tests: web-platform-tests/wpt#15392.
  • Loading branch information
annevk authored Feb 15, 2019
1 parent cf483d3 commit 4fe2d53
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -30091,16 +30091,7 @@ interface <dfn>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {

<p>The <dfn><code data-x="attr-iframe-name">name</code></dfn> attribute, if present, must be a
<span>valid browsing context name</span>. The given value is used to name the <span>nested
browsing context</span>.</p>

<div w-nodev>

<p>Whenever the <code data-x="attr-iframe-name">name</code> attribute is set, the nested
<span>browsing context</span>'s <span data-x="browsing context name">name</span> must be changed to
the new value. If the attribute is removed, the <span>browsing context name</span> must be set to
the empty string.</p>

</div>
browsing context</span> if present when the <span>nested browsing context</span> is created.</p>


<hr> <!-- SANDBOX -->
Expand Down Expand Up @@ -30941,7 +30932,8 @@ interface <dfn>HTMLObjectElement</dfn> : <span>HTMLElement</span> {

<p>The <dfn><code data-x="attr-object-name">name</code></dfn> attribute, if present, must be a
<span>valid browsing context name</span>. The given value is used to name the <span>nested
browsing context</span>, if applicable.</p>
browsing context</span>, if applicable, and if present when the <span>nested browsing
context</span> is created.</p>

<div w-nodev>

Expand Down Expand Up @@ -115495,12 +115487,6 @@ interface <dfn>HTMLFrameSetElement</dfn> : <span>HTMLElement</span> {

<!-- END of section that's very similar to <iframe> -->

<p>Whenever the <code undefined data-x="attr-frame-name">name</code> attribute is set and the
<code>frame</code> element's <span>nested browsing context</span> is non-null, the <span>nested
browsing context</span>'s <span data-x="browsing context name">name</span> must be changed to the
new value. If the attribute is removed, the <span>browsing context name</span> must be set to the
empty string.</p>

<p>The <code>frame</code> element must implement the <code>HTMLFrameElement</code> interface.</p>

<pre><code class="idl" data-x="">[Exposed=Window,
Expand Down

0 comments on commit 4fe2d53

Please sign in to comment.