mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 23:07:35 +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,15 +1,15 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x91.875 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x99.875 [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <body> at (8,8) content-size 784x75.875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 95.171875x75.875 [BFC] children: not-inline
|
||||
Box <table#full-table> at (8,8) content-size 95.171875x58.40625 table-box [TFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x83.875 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 99.171875x83.875 [BFC] children: not-inline
|
||||
Box <table#full-table> at (8,8) content-size 99.171875x66.40625 table-box [TFC] children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <caption> at (8,66.40625) content-size 82.734375x17.46875 [BFC] children: inline
|
||||
BlockContainer <caption> at (8,74.40625) content-size 82.734375x17.46875 [BFC] children: inline
|
||||
line 0 width: 82.734375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 1, length: 9, rect: [14,66.40625 82.734375x17.46875]
|
||||
frag 0 from TextNode start: 1, length: 9, rect: [16,74.40625 82.734375x17.46875]
|
||||
"A Caption"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -17,12 +17,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <thead> at (8,8) content-size 95.171875x19.46875 table-header-group children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (8,8) content-size 95.171875x19.46875 table-row children: not-inline
|
||||
Box <tr> at (10,10) content-size 95.171875x19.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (9,9) content-size 93.171875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (11,11) content-size 93.171875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 73.65625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 9, rect: [9,9 73.65625x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 9, rect: [11,11 73.65625x17.46875]
|
||||
"Head Cell"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -34,12 +34,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <tbody> at (8,27.46875) content-size 95.171875x19.46875 table-row-group children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (8,27.46875) content-size 95.171875x19.46875 table-row children: not-inline
|
||||
Box <tr> at (10,29.46875) content-size 95.171875x19.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (9,28.46875) content-size 93.171875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (11,32.46875) content-size 93.171875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 70.234375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 9, rect: [9,28.46875 70.234375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 9, rect: [11,32.46875 70.234375x17.46875]
|
||||
"Body Cell"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -51,12 +51,12 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <tfoot> at (8,46.9375) content-size 95.171875x19.46875 table-footer-group children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (8,46.9375) content-size 95.171875x19.46875 table-row children: not-inline
|
||||
Box <tr> at (10,48.9375) content-size 95.171875x19.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (9,47.9375) content-size 93.171875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (11,53.9375) content-size 93.171875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 93.171875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 11, rect: [9,47.9375 93.171875x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 11, rect: [11,53.9375 93.171875x17.46875]
|
||||
"Footer Cell"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -65,5 +65,5 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (8,83.875) content-size 784x0 children: inline
|
||||
BlockContainer <(anonymous)> at (8,91.875) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue