diff --git a/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html b/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
index a30ae6e89adb..c8e09e8d0b8a 100644
--- a/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
+++ b/testing/web-platform/tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html
@@ -89,8 +89,15 @@
-
-
+
+
+
+
+
+
+
+
+
@@ -352,11 +359,35 @@ onload = function() {
}), 0);
}, 'timeout');
- t('picture is inserted', function(img) {
+ t('picture is inserted; img has src', function(img) {
img.parentNode.nextSibling.appendChild(img.parentNode);
}, 'timeout');
- t('picture is removed', function(img) {
+ t('picture is inserted; img has srcset', function(img) {
+ img.parentNode.nextSibling.appendChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is inserted; img has previous sibling source', function(img) {
+ img.parentNode.nextSibling.appendChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is inserted; img has following sibling source', function(img) {
+ img.parentNode.nextSibling.appendChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has src', function(img) {
+ img.parentNode.parentNode.removeChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has srcset', function(img) {
+ img.parentNode.parentNode.removeChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has previous sibling source', function(img) {
+ img.parentNode.parentNode.removeChild(img.parentNode);
+ }, 'timeout');
+
+ t('picture is removed; img has following sibling source', function(img) {
img.parentNode.parentNode.removeChild(img.parentNode);
}, 'timeout');