mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
21 lines
510 B
HTML
21 lines
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>
|