pjs/layout/reftests/css-calc/width-table-fixed-1.html

21 строка
510 B
HTML

<!DOCTYPE HTML>
<title>width: calc() on table-layout: auto tables</title>
<style>
table { table-layout: fixed; width: 500px; border-spacing: 0 }
</style>
<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(2 * 10% + 0.5 * 500px)">x</td>
<td style="width: 100px">y</td>
</table>