blob: 818f4a3016862dc42d121bf4fe0322cfebf110f4 (
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
26
27
28
29
30
31
|
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>CSS Test: 'contain: size' on select objects should cause them to be sized as if they have no contents.</title>
<link rel="author" title="Morgan Rae Reschenberg" href="mailto:mreschenberg@berkeley.edu">
<link rel="help" href="https://drafts.csswg.org/css-contain/#containment-size">
<link rel="match" href="contain-size-select-elem-004-ref.html">
<style>
select {
contain: size;
color: transparent;
}
.floatLBasic {
float: left;
}
</style>
</head>
<body>
<select multiple>
<option>CSS Test: A size-contained select with no specified size should size itself as if it had no contents.</option>
<option>aaaaaa</option>
</select>
<br>
<select multiple class="floatLBasic">
<option>CSS Test: A size-contained floated select with no specified size should size itself as if it had no contents.</option>
<option>a</option>
</select>
</body>
</html>
|