Skip to content

Commit

Permalink
Use DOM's post-connection steps for iframe elements
Browse files Browse the repository at this point in the history
Make iframe elements use post-connection steps, not insertion steps. Fixes #10828.
  • Loading branch information
domfarolino authored Dec 12, 2024
1 parent 4631f8b commit c8ec987
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -33415,13 +33415,10 @@ interface <dfn interface>HTMLIFrameElement</dfn> : <span>HTMLElement</span> {

<hr> <!-- SRC/SRCDOC PROCESSING MODEL -->

<p>The <code>iframe</code> <span>HTML element insertion steps</span>, given
<p>The <code>iframe</code> <span>HTML element post-connection steps</span>, given
<var>insertedNode</var>, are:</p>

<ol>
<li><p>If <var>insertedNode</var>'s <span>shadow-including root</span>'s <span
data-x="concept-document-bc">browsing context</span> is null, then return.</p></li>

<li><p><span>Create a new child navigable</span> for <var>insertedNode</var>.</p></li>

<li><p>If <var>insertedNode</var> has a <code data-x="attr-iframe-sandbox">sandbox</code>
Expand Down

0 comments on commit c8ec987

Please sign in to comment.