2007-05-04 03:11:00 +04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en-US">
|
|
|
|
<head>
|
Bug 1322780 - Part 2: Support unprefixed min-content and max-content. r=mats,emilio
Support unprefixed min-content and max-content and treat the prefixed
version as aliases for
1. width, min-width, max-width if inline-axis is horizontal, and
2. height, min-height, max-height if inline-axis is vertical, and
3. inline-size, min-inline-size, max-inline-size, and
4. flex-basis.
Besides, update the test cases to use unprefixed max-content and
min-content.
Depends on D7535
Differential Revision: https://phabricator.services.mozilla.com/D7536
--HG--
extra : moz-landing-system : lando
2018-12-18 21:47:37 +03:00
|
|
|
<title>max-content, min-content, -moz-fit-content, and -moz-available values of CSS width property, on table cells with table-layout: auto</title>
|
2007-05-04 03:11:00 +04:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
body { font-size: 10px; line-height: 1; }
|
|
|
|
|
|
|
|
td td {
|
|
|
|
border-left: 1px solid;
|
|
|
|
padding-left: 2px;
|
|
|
|
padding-right: 4px;
|
|
|
|
border-right: 8px solid;
|
|
|
|
|
|
|
|
background: yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<table border><tr>
|
|
|
|
<td>
|
|
|
|
<!-- width -->
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<!-- min-width -->
|
|
|
|
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<!-- max-width -->
|
|
|
|
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td>A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
<table border><tr><td style="width: 150px">A B</td></tr></table>
|
|
|
|
<table border width="1"><tr><td>A B</td></tr></table>
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr></table>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|