mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Fixes #8445 The only attributes I found that we have implemented that uses non-zero dimenion attributes: * `width` for `<td>` and `<th>` (table cells) * `width` for `<table>` I updated these implementations to use the new non-zero dimension attribute parsing and added associated regression tests.
31 lines
317 B
HTML
31 lines
317 B
HTML
<link rel="match" href="table-width-ref.html">
|
|
|
|
<style>
|
|
table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td {
|
|
padding: 0;
|
|
}
|
|
</style>
|
|
|
|
<!-- width=0 should be treated as 'auto' -->
|
|
<table width=0>
|
|
<tr>
|
|
<td>
|
|
a b
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<hr>
|
|
|
|
<table width=1>
|
|
<tr>
|
|
<td>
|
|
a b
|
|
</td>
|
|
</tr>
|
|
</table>
|