From 60746af61ab4de07f80a1f75b8ed955e99ab5cfc Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 4 Nov 2025 13:28:02 +0100 Subject: [PATCH] selectedcontent element mutation record test is wrong The replace all primitive uses a single record for additions and removals. --- .../customizable-select/selectedcontent-mutations.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/html/semantics/forms/the-select-element/customizable-select/selectedcontent-mutations.html b/html/semantics/forms/the-select-element/customizable-select/selectedcontent-mutations.html index 9b53b33ef194a6..1aadbd19f6854b 100644 --- a/html/semantics/forms/the-select-element/customizable-select/selectedcontent-mutations.html +++ b/html/semantics/forms/the-select-element/customizable-select/selectedcontent-mutations.html @@ -301,6 +301,7 @@ "Type: childList | Target: selectedcontent | Added: [#text: \"\"] | After: selectedcontent", "Type: childList | Target: button | Added: [#text: \"\"] | After: selectedcontent", "Type: childList | Target: button | Added: [selectedcontent] | After: #text: \"\"", + "Type: childList | Target: selectedcontent | Removed: [#text: \"outer1\", selectedcontent, #text: \"\"]", "Type: childList | Target: selectedcontent | Added: [#text: \"outer2\"]", "Type: childList | Target: selectedcontent | Added: [selectedcontent] | After: #text: \"outer2\"", "Type: childList | Target: selectedcontent | Added: [#text: \"inner2\"]", @@ -308,7 +309,6 @@ "Type: childList | Target: button | Added: [#text: \"\"] | After: selectedcontent", "Type: childList | Target: select | Added: [#text: \"\"] | After: button", "Type: childList | Target: select | Added: [option] | After: #text: \"\"", - "Type: childList | Target: selectedcontent | Removed: [#text: \"outer1\", selectedcontent, #text: \"\"]", "Type: childList | Target: option | Added: [#text: \"option\"]", "Type: childList | Target: selectedcontent | Added: [#text: \"option\"]", "Type: childList | Target: select | Added: [#text: \"\"] | After: option", @@ -347,9 +347,8 @@ "Type: childList | Target: select | Added: [div] | After: #text: \"\"", "Type: childList | Target: div | Added: [#text: \"\"]", "Type: childList | Target: div | Added: [option] | After: #text: \"\"", - "Type: childList | Target: selectedcontent | Removed: [#text: \"one\"]", "Type: childList | Target: option | Added: [#text: \"two\"]", - "Type: childList | Target: selectedcontent | Added: [#text: \"two\"]", + "Type: childList | Target: selectedcontent | Added: [#text: \"two\"] | Removed: [#text: \"one\"]", "Type: childList | Target: div | Added: [#text: \"\"] | After: option", "Type: childList | Target: select | Added: [#text: \"\"] | After: div", "Type: childList | Target: div#test4 | Added: [#text: \"\"] | After: select"