From 0bcb0f6ba580abd17c3d528ae9b48e3a1fc1866b Mon Sep 17 00:00:00 2001 From: Joey Arhar Date: Wed, 30 Oct 2024 09:30:31 -0700 Subject: [PATCH] Disable selectedoption inside option This patch prevents an infinite loop due to putting a selectedoption inside of an option element. This case was pointed out here: https://github.com/openui/open-ui/issues/1120 Change-Id: I794e49b5c5d28773ce4684fc3a829365667fe138 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5975638 Commit-Queue: Joey Arhar Reviewed-by: Traian Captan Cr-Commit-Position: refs/heads/main@{#1375889} --- .../selectedoption-in-option-crash.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 html/semantics/forms/the-select-element/customizable-select/selectedoption-in-option-crash.html diff --git a/html/semantics/forms/the-select-element/customizable-select/selectedoption-in-option-crash.html b/html/semantics/forms/the-select-element/customizable-select/selectedoption-in-option-crash.html new file mode 100644 index 00000000000000..d619b8dcd921d9 --- /dev/null +++ b/html/semantics/forms/the-select-element/customizable-select/selectedoption-in-option-crash.html @@ -0,0 +1,19 @@ + + + + + + +