1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:27:35 +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>)