From 6ab605b5ff92b220cac18f0b8e5a18eb1a9fa15e Mon Sep 17 00:00:00 2001
From: Dominic Farolino
If insertedNode's parent is a media element that has no Let parent be insertedNode's parent.
If parent is a media element that has no src attribute and whose networkState has the value NETWORK_EMPTY, then invoke that media
element's resource selection
algorithm.
If insertedNode's next sibling is an img element and its parent is
- a picture element, then, count this as a relevant
- mutation for the img element.
If parent is a picture element, then for each child of parent's children, if child is an img
+ element, then count this as a relevant mutation for
+ child.
The source HTML element moving steps, given movedNode and
oldParent, are:
If movedNode's next sibling was an img element and
- oldParent is a picture element, then, count this as a relevant mutation for the img element.
If oldParent is a picture element, then for each child of oldParent's children, if child is an img element,
+ then count this as a relevant mutation for
+ child.
The source HTML element removing steps, given removedNode
and oldParent, are:
If removedNode's next sibling was an img element and
- oldParent is a picture element, then, count this as a relevant mutation for the img element.
If oldParent is a picture element, then for each child of oldParent's children, if child is an img element,
+ then count this as a relevant mutation for
+ child.
The IDL attributes
Date: Sun, 16 Mar 2025 13:57:51 -0400
Subject: [PATCH 2/3] specfmt
---
source | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/source b/source
index 6f7a010d971..6bc74799e18 100644
--- a/source
+++ b/source
@@ -29189,9 +29189,9 @@ interface HTMLSourceElement : HTMLElement {
algorithm.
If parent is a picture element, then for each child of parent's children, if child is an img
- element, then count this as a relevant mutation for
+ iterate">for each child of parent's children, if child is an img element,
+ then count this as a relevant mutation for
child.
If parent is a picture element, then for each child of parent's for each child of parent's children, if child is an img element,
then count this as a relevant mutation for
child.