mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:17:34 +00:00
LibWeb: Report border box width for tables in a block
For the containing block, table borders are opaque and have to be accounted when computing the table width since they use available space.
This commit is contained in:
parent
2c4908094c
commit
8b34af816e
19 changed files with 154 additions and 26 deletions
|
@ -3,13 +3,13 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <body> at (8,8) content-size 784x111.8125 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 59.046875x111.8125 [BFC] children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 63.046875x111.8125 [BFC] children: not-inline
|
||||
Box <table#full-table> at (10,43.40625) content-size 59.046875x72.40625 table-box [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <caption> at (8,8) content-size 59.046875x35.40625 [BFC] children: inline
|
||||
line 0 width: 54.03125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 1, length: 6, rect: [9,8 54.03125x17.46875]
|
||||
frag 0 from TextNode start: 1, length: 6, rect: [11,8 54.03125x17.46875]
|
||||
"A long"
|
||||
line 1 width: 59.046875, height: 17.9375, bottom: 35.40625, baseline: 13.53125
|
||||
frag 0 from TextNode start: 8, length: 7, rect: [8,25 59.046875x17.46875]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue