1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:27:35 +00:00

LibWeb: Exclude borders from width available for table columns

Fix table box width calculation to minus horizonal borders from space
available for columns.
This commit is contained in:
Aliaksandr Kalenik 2023-04-29 16:27:21 +03:00 committed by Andreas Kling
parent a04316403e
commit e54ee7de96
5 changed files with 33 additions and 10 deletions

View file

@ -0,0 +1,11 @@
<style>
.table {
width: 100%;
border: 100px solid black;
}
.cell {
height: 10px;
background-color: orange;
}
</style><table class="table"><tr><td class="cell"></td></tr></table>