@@ -29179,34 +29179,42 @@ interface <dfn interface>HTMLSourceElement</dfn> : <span>HTMLElement</span> {
29179
29179
<var>insertedNode</var>, are:</p>
29180
29180
29181
29181
<ol>
29182
- <li><p>If <var>insertedNode</var>'s parent is a <span>media element</span> that has no <code
29182
+ <li><p>Let <var>parent</var> be <var>insertedNode</var>'s <span>parent</span>.</p></li>
29183
+
29184
+ <li><p>If <var>parent</var> is a <span>media element</span> that has no <code
29183
29185
data-x="attr-media-src">src</code> attribute and whose <code
29184
29186
data-x="dom-media-networkState">networkState</code> has the value <code
29185
29187
data-x="dom-media-NETWORK_EMPTY">NETWORK_EMPTY</code>, then invoke that <span>media
29186
29188
element</span>'s <span data-x="concept-media-load-algorithm">resource selection
29187
29189
algorithm</span>.</p></li>
29188
29190
29189
- <li><p>If <var>insertedNode</var>'s next sibling is an <code>img</code> element and its parent is
29190
- a <code>picture</code> element, then, count this as a <span data-x="relevant mutations">relevant
29191
- mutation</span> for the <code>img</code> element.</p></li>
29191
+ <li><p>If <var>parent</var> is a <code>picture</code> element, then <span data-x="list
29192
+ iterate">for each</span> <var>child</var> of <var>parent</var>'s <span
29193
+ data-x="concept-tree-child">children</span>, if <var>child</var> is an <code>img</code> element,
29194
+ then count this as a <span data-x="relevant mutations">relevant mutation</span> for
29195
+ <var>child</var>.</p></li>
29192
29196
</ol>
29193
29197
29194
29198
<p>The <code>source</code> <span>HTML element moving steps</span>, given <var>movedNode</var> and
29195
29199
<var>oldParent</var>, are:</p>
29196
29200
29197
29201
<ol>
29198
- <li><p>If <var>movedNode</var>'s next sibling was an <code>img</code> element and
29199
- <var>oldParent</var> is a <code>picture</code> element, then, count this as a <span
29200
- data-x="relevant mutations">relevant mutation</span> for the <code>img</code> element.</p></li>
29202
+ <li><p>If <var>oldParent</var> is a <code>picture</code> element, then <span data-x="list
29203
+ iterate">for each</span> <var>child</var> of <var>oldParent</var>'s <span
29204
+ data-x="concept-tree-child">children</span>, if <var>child</var> is an <code>img</code> element,
29205
+ then count this as a <span data-x="relevant mutations">relevant mutation</span> for
29206
+ <var>child</var>.</p></li>
29201
29207
</ol>
29202
29208
29203
29209
<p>The <code>source</code> <span>HTML element removing steps</span>, given <var>removedNode</var>
29204
29210
and <var>oldParent</var>, are:</p>
29205
29211
29206
29212
<ol>
29207
- <li><p>If <var>removedNode</var>'s next sibling was an <code>img</code> element and
29208
- <var>oldParent</var> is a <code>picture</code> element, then, count this as a <span
29209
- data-x="relevant mutations">relevant mutation</span> for the <code>img</code> element.</p></li>
29213
+ <li><p>If <var>oldParent</var> is a <code>picture</code> element, then <span data-x="list
29214
+ iterate">for each</span> <var>child</var> of <var>oldParent</var>'s <span
29215
+ data-x="concept-tree-child">children</span>, if <var>child</var> is an <code>img</code> element,
29216
+ then count this as a <span data-x="relevant mutations">relevant mutation</span> for
29217
+ <var>child</var>.</p></li>
29210
29218
</ol>
29211
29219
29212
29220
<p>The IDL attributes <dfn attribute for="HTMLSourceElement"><code
0 commit comments