Skip to content

Commit

Permalink
Bug 1928139 [wpt PR 48887] - Disable selectedoption inside option, a=…
Browse files Browse the repository at this point in the history
…testonly

Automatic update from web-platform-tests
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:
openui/open-ui#1120

Change-Id: I794e49b5c5d28773ce4684fc3a829365667fe138
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5975638
Commit-Queue: Joey Arhar <jarharchromium.org>
Reviewed-by: Traian Captan <tcaptanchromium.org>
Cr-Commit-Position: refs/heads/main{#1375889}

--

wpt-commits: 77665be0abf23117db6596f618be29dc416fdd13
wpt-pr: 48887

UltraBlame original commit: 17d95f3373bf1c72fe9c5b5c337c4534f0e6f421
  • Loading branch information
marco-c committed Nov 1, 2024
1 parent 7547483 commit c323ee9
Showing 1 changed file with 114 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
<
!
DOCTYPE
html
>
<
link
rel
=
author
href
=
"
mailto
:
jarhar
chromium
.
org
"
>
<
link
rel
=
help
href
=
"
https
:
/
/
github
.
com
/
openui
/
open
-
ui
/
issues
/
1120
"
>
<
style
>
select
:
:
picker
(
select
)
{
appearance
:
base
-
select
;
}
<
/
style
>
<
select
>
<
button
>
<
selectedoption
>
<
/
selectedoption
>
<
/
button
>
<
option
>
one
<
selectedoption
>
<
/
selectedoption
>
<
/
option
>
<
option
>
two
<
/
option
>
<
/
select
>

0 comments on commit c323ee9

Please sign in to comment.