blob: e7cacdba2711e2f4e3d187704abc43e2adcbd8ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!DOCTYPE html>
<html>
<title>HTMLSelectListElement Test: option arbitrary content not displayed</title>
<link rel="author" title="Ionel Popescu" href="mailto:iopopesc@microsoft.com">
<link rel=match href="selectlist-option-arbitrary-content-not-displayed-ref.tentative.html">
<option>
option with image not displayed
<img src="/images/green-256x256.png">
</option>
<selectlist id="selectList0">
<option id="selectList0-option">
option with image not displayed
<img src="/images/green-256x256.png">
</option>
</selectlist>
<script>
const selectList0Option = document.getElementById("selectList0-option");
// removing an option from <selectlist> should revert back to its original display behavior
selectList0Option.remove();
document.body.append(selectList0Option);
</script>
|