mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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>
|