mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:37:47 +00:00
LibWeb: Add layout support for border spacing
When border-collapse is separate, border-spacing affects layout. Implement most of that functionality.
This commit is contained in:
parent
396f1a977c
commit
b69036970b
19 changed files with 949 additions and 259 deletions
|
@ -1,28 +1,28 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x92.21875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 782x92.21875 [BFC] children: not-inline
|
||||
Box <table.ambox> at (9,9) content-size 780x90.21875 table-box [TFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x96.21875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 784x96.21875 [BFC] children: not-inline
|
||||
Box <table.ambox> at (9,9) content-size 788x94.21875 table-box [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tbody> at (9,9) content-size 780x90.21875 table-row-group children: not-inline
|
||||
Box <tr> at (9,9) content-size 780x90.21875 table-row children: not-inline
|
||||
BlockContainer <td.mbox-image> at (10,29.109375) content-size 50x50 table-cell [BFC] children: not-inline
|
||||
BlockContainer <div.mbox-image-div> at (10,29.109375) content-size 50x50 children: not-inline
|
||||
BlockContainer <td.mbox-text> at (62,10) content-size 726x88.21875 table-cell [BFC] children: inline
|
||||
Box <tbody> at (9,9) content-size 782x90.21875 table-row-group children: not-inline
|
||||
Box <tr> at (11,11) content-size 782x90.21875 table-row children: not-inline
|
||||
BlockContainer <td.mbox-image> at (12,31.109375) content-size 50x50 table-cell [BFC] children: not-inline
|
||||
BlockContainer <div.mbox-image-div> at (12,31.109375) content-size 50x50 children: not-inline
|
||||
BlockContainer <td.mbox-text> at (66,12) content-size 728x88.21875 table-cell [BFC] children: inline
|
||||
line 0 width: 689.640625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 1, length: 84, rect: [62,10 689.640625x17.46875]
|
||||
frag 0 from TextNode start: 1, length: 84, rect: [66,12 689.640625x17.46875]
|
||||
"In a scene set in a lawyer's office, the lawyer sits alone and bounces a rubber ball"
|
||||
line 1 width: 695.5625, height: 17.9375, bottom: 35.40625, baseline: 13.53125
|
||||
frag 0 from TextNode start: 86, length: 84, rect: [62,27 695.5625x17.46875]
|
||||
frag 0 from TextNode start: 86, length: 84, rect: [66,29 695.5625x17.46875]
|
||||
"against the wall. They receive a call from their assistant who expresses frustration"
|
||||
line 2 width: 703.125, height: 18.40625, bottom: 53.34375, baseline: 13.53125
|
||||
frag 0 from TextNode start: 171, length: 85, rect: [62,44 703.125x17.46875]
|
||||
frag 0 from TextNode start: 171, length: 85, rect: [66,46 703.125x17.46875]
|
||||
"over a packed waiting room and the lawyer's lack of clients. The lawyer then looks at"
|
||||
line 3 width: 695.90625, height: 17.875, bottom: 70.28125, baseline: 13.53125
|
||||
frag 0 from TextNode start: 257, length: 81, rect: [62,62 695.90625x17.46875]
|
||||
frag 0 from TextNode start: 257, length: 81, rect: [66,64 695.90625x17.46875]
|
||||
"some papers from a large envelope, which turn out to be divorce papers from their"
|
||||
line 4 width: 725.734375, height: 18.34375, bottom: 88.21875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 339, length: 92, rect: [62,79 725.734375x17.46875]
|
||||
frag 0 from TextNode start: 339, length: 92, rect: [66,81 725.734375x17.46875]
|
||||
"significant other. Finally, the lawyer instructs their assistant to send in the next client."
|
||||
TextNode <#text>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue