gecko-dev/layout/reftests/box-properties/width-special-values-float-...

49 строки
1.2 KiB
HTML

<!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>