mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:37:36 +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
|
@ -1,8 +1,8 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x293.625 children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x277.625 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 166.296875x66.40625 children: not-inline
|
||||
TableBox <table.table-border-black> at (9,9) content-size 166.296875x64.40625 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 164.296875x66.40625 children: not-inline
|
||||
TableBox <table.table-border-black> at (9,9) content-size 164.296875x64.40625 children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 0x0 children: inline
|
||||
TextNode <#text>
|
||||
TableRowGroupBox <tbody> at (9,9) content-size 166.296875x64.40625 children: not-inline
|
||||
|
|
8
Tests/LibWeb/Layout/expected/table/table-width.txt
Normal file
8
Tests/LibWeb/Layout/expected/table/table-width.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x226 children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x210 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 584x210 children: not-inline
|
||||
TableBox <table.table> at (108,108) content-size 584x10 children: not-inline
|
||||
TableRowGroupBox <tbody> at (108,108) content-size 584x10 children: not-inline
|
||||
TableRowBox <tr> at (108,108) content-size 584x10 children: not-inline
|
||||
TableCellBox <td.cell> at (109,113) content-size 582x0 children: not-inline
|
Loading…
Add table
Add a link
Reference in a new issue