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:
parent
a04316403e
commit
e54ee7de96
5 changed files with 33 additions and 10 deletions
11
Tests/LibWeb/Layout/input/table/table-width.html
Normal file
11
Tests/LibWeb/Layout/input/table/table-width.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue