summaryrefslogtreecommitdiffstats
path: root/layout/reftests/box-properties/width-special-values-float-intrinsic.html
blob: efa41584ed5c927bff17616b4c903fde1db30f27 (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 -moz-max-content, -moz-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: -moz-max-content">AA B</div>
</td></tr></table>

<table border width="1"><tr><td>
  <div style="width: -moz-max-content">AA B</div>
</td></tr></table>

<table border><tr><td>
  <div style="width: -moz-min-content">AA B</div>
</td></tr></table>

<table border width="1"><tr><td>
  <div style="width: -moz-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>