blob: e11c9d18de088a937b3b2eb961124c0b1b1707af (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>intrinsic widths for max-content, min-content, -moz-fit-content, and -moz-available values of CSS width property, on blocks</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
div { float: left; clear: left; }
</style>
</head>
<body>
<table border><tr><td>
<div style="width: max-content">AA B</div>
</td></tr></table>
<table border width="1"><tr><td>
<div style="width: max-content">AA B</div>
</td></tr></table>
<table border><tr><td>
<div style="width: min-content">AA B</div>
</td></tr></table>
<table border width="1"><tr><td>
<div style="width: min-content">AA B</div>
</td></tr></table>
<table border><tr><td>
<div style="width: -moz-fit-content">AA B</div>
</td></tr></table>
<table border width="1"><tr><td>
<div style="width: -moz-fit-content">AA B</div>
</td></tr></table>
<table border><tr><td>
<div style="width: -moz-available">AA B</div>
</td></tr></table>
<table border width="1"><tr><td>
<div style="width: -moz-available">AA B</div>
</td></tr></table>
</body>
</html>
|