1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:37:36 +00:00

LibWeb: Skip separate height computation for tables

With multi-line text cells, we don't reliably know the height would stay
the same as the one set by the independent format context run. In such
situations, we can end up with a table box which is sized inconsistently
with the grid boxes of the table due to differences in line breaks.
This commit is contained in:
Andi Gallo 2023-06-17 14:48:52 +00:00 committed by Andreas Kling
parent 0cea1a3baf
commit f154446a9f
3 changed files with 48 additions and 1 deletions

View file

@ -0,0 +1,14 @@
<style>
table {
border: 1px solid black;
}
td {
border: 1px solid blue;
}
</style>
<table style="width: 10px;">
<tr><td>*</td></tr>
<tr><td>********* ***** **</td></tr>
</table>