gecko/layout/reftests/css-calc/width-table-auto-1.html

28 lines
678 B
HTML

<!DOCTYPE HTML>
<title>width: calc() on table-layout: auto tables</title>
<table border>
<tr>
<td style="width: -moz-calc(500px)">x</td>
<td style="width: 100px">y</td>
</table>
<table border>
<tr>
<td style="width: -moz-calc(50%)">x</td>
<td style="width: 100px">y</td>
</table>
<table border>
<tr>
<td style="width: -moz-calc(min(50%, 500px))">x</td>
<td style="width: 100px">y</td>
</table>
<table border>
<tr>
<td style="width: -moz-calc(max(50%, 500px))">x</td>
<td style="width: 100px">y</td>
</table>
<table border>
<tr>
<td style="width: -moz-calc(2 * 10% + 0.5 * 500px)">x</td>
<td style="width: 100px">y</td>
</table>