From d66443f83dcf7c0ac330529f79da817e79e243f2 Mon Sep 17 00:00:00 2001 From: Dominic Farolino Date: Mon, 17 Mar 2025 07:45:17 -0700 Subject: [PATCH] Add 'next sibling' source relevant mutation test See https://github.com/whatwg/html/issues/11113. Since the test added here passes in all browsers, we can remove the spec text indicating that the source element's removing and moving steps somehow keep track of the previous position's "next sibling" pointer. See also https://github.com/whatwg/html/pull/11137. R=domenic Bug: N/A Change-Id: I572939ee5f7acb0c8980707a46aa581c449eb96d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6357453 Reviewed-by: Domenic Denicola Commit-Queue: Dominic Farolino Cr-Commit-Position: refs/heads/main@{#1433512} --- .../source-relevant-mutations.html | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 html/semantics/embedded-content/the-img-element/source-relevant-mutations.html diff --git a/html/semantics/embedded-content/the-img-element/source-relevant-mutations.html b/html/semantics/embedded-content/the-img-element/source-relevant-mutations.html new file mode 100644 index 00000000000000..88ea61407f9dab --- /dev/null +++ b/html/semantics/embedded-content/the-img-element/source-relevant-mutations.html @@ -0,0 +1,88 @@ + +img should only look at a parent picture element + + + + + + + + + + + + +