Skip to content

Commit ead5827

Browse files
josepharharmoz-wptsync-bot
authored andcommitted
Bug 1928139 [wpt PR 48887] - Disable selectedoption inside option, a=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 <[email protected]> Reviewed-by: Traian Captan <[email protected]> Cr-Commit-Position: refs/heads/main@{#1375889} -- wpt-commits: 77665be0abf23117db6596f618be29dc416fdd13 wpt-pr: 48887
1 parent 9f02316 commit ead5827

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!DOCTYPE html>
2+
<link rel=author href="mailto:[email protected]">
3+
<link rel=help href="https://github.com/openui/open-ui/issues/1120">
4+
5+
<style>
6+
select,::picker(select) {
7+
appearance: base-select;
8+
}
9+
</style>
10+
11+
<select>
12+
<button>
13+
<selectedoption></selectedoption>
14+
</button>
15+
<option>one
16+
<selectedoption></selectedoption>
17+
</option>
18+
<option>two</option>
19+
</select>

0 commit comments

Comments
 (0)