1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 08:35:07 +00:00
serenity/Tests/LibWeb/Layout/input/table/avoid-div-by-zero-in-table-measures.html
Andi Gallo 3b75b9ef1c LibWeb: Avoid division by zero when computing table measures
For malformed tables which only have cells with span greater than 1, the
content sizes for row and column aren't initialized to non-zero values.
Avoid undefined behavior in such cases, which sometimes show up on
Wikipedia.
2023-07-27 08:01:36 +02:00

7 lines
No EOL
76 B
HTML

<table>
<tbody>
<tr>
<td colspan="2">A</td>
</tr>
</tbody>
</table>