1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 12:08:14 +00:00

LibWeb: Support align attribute on table elements

This commit is contained in:
implicitfield 2023-11-19 12:22:49 +04:00 committed by Andreas Kling
parent 7a766bdb83
commit a54e62bea0
5 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,24 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x312 [BFC] children: not-inline
BlockContainer <body> at (8,100) content-size 784x204 children: not-inline
TableWrapper <(anonymous)> at (108,100) content-size 89.34375x204 [BFC] children: not-inline
Box <table> at (109,101) content-size 87.34375x202 table-box [TFC] children: not-inline
Box <tbody> at (109,101) content-size 83.34375x198 table-row-group children: not-inline
Box <tr> at (111,103) content-size 83.34375x198 table-row children: not-inline
BlockContainer <td> at (112,193.265625) content-size 81.34375x17.46875 table-cell [BFC] children: inline
line 0 width: 81.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 10, rect: [112,193.265625 81.34375x17.46875]
"off-center"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x312]
PaintableWithLines (BlockContainer<BODY>) [8,100 784x204]
PaintableWithLines (TableWrapper(anonymous)) [108,100 89.34375x204]
PaintableBox (Box<TABLE>) [108,100 89.34375x204]
PaintableBox (Box<TBODY>) [109,101 83.34375x198] overflow: [109,101 85.34375x200]
PaintableBox (Box<TR>) [111,103 83.34375x198]
PaintableWithLines (BlockContainer<TD>) [111,103 83.34375x198]
TextPaintable (TextNode<#text>)

View file

@ -0,0 +1,24 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x220 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x204 children: not-inline
TableWrapper <(anonymous)> at (370.1875,8) content-size 59.625x204 [BFC] children: not-inline
Box <table> at (371.1875,9) content-size 57.625x202 table-box [TFC] children: not-inline
Box <tbody> at (371.1875,9) content-size 53.625x198 table-row-group children: not-inline
Box <tr> at (373.1875,11) content-size 53.625x198 table-row children: not-inline
BlockContainer <td> at (374.1875,101.265625) content-size 51.625x17.46875 table-cell [BFC] children: inline
line 0 width: 51.625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
frag 0 from TextNode start: 0, length: 6, rect: [374.1875,101.265625 51.625x17.46875]
"center"
TextNode <#text>
BlockContainer <(anonymous)> (not painted) children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x220]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x204]
PaintableWithLines (TableWrapper(anonymous)) [370.1875,8 59.625x204]
PaintableBox (Box<TABLE>) [370.1875,8 59.625x204]
PaintableBox (Box<TBODY>) [371.1875,9 53.625x198] overflow: [371.1875,9 55.625x200]
PaintableBox (Box<TR>) [373.1875,11 53.625x198]
PaintableWithLines (BlockContainer<TD>) [373.1875,11 53.625x198]
TextPaintable (TextNode<#text>)