mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 02:37:35 +00:00
LibWeb: Implement rounding for PixelUnits
This commit is contained in:
parent
cc74083f27
commit
6c341ca985
79 changed files with 1638 additions and 1600 deletions
|
@ -1,18 +1,18 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x127.34375 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x127.8125 [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <body> at (8,8) content-size 784x111.34375 children: not-inline
|
||||
TableWrapper <(anonymous)> at (8,8) content-size 63.046875x111.34375 [BFC] children: not-inline
|
||||
Box <table#full-table> at (10,42.9375) content-size 59.046875x72.40625 table-box [TFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x111.8125 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.046875x34.9375 [BFC] children: inline
|
||||
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: [10.5,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.46875, bottom: 34.9375, baseline: 13.53125
|
||||
frag 0 from TextNode start: 8, length: 7, rect: [8,25.46875 59.046875x17.46875]
|
||||
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]
|
||||
"caption"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -20,19 +20,19 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <thead> at (10,10) content-size 53.046875x21.46875 table-header-group children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (12,44.9375) content-size 53.046875x21.46875 table-row children: not-inline
|
||||
Box <tr> at (12,45.40625) content-size 53.046875x21.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (14,46.9375) content-size 21.25x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (14,47.40625) content-size 21.25x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 20.609375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [14,46.9375 20.609375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [14,47.40625 20.609375x17.46875]
|
||||
"A1"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (41.25,46.9375) content-size 23.796875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (41.25,47.40625) content-size 23.796875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 23.078125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [41.25,46.9375 23.078125x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [41.25,47.40625 23.078125x17.46875]
|
||||
"A2"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -44,19 +44,19 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <tbody> at (10,31.46875) content-size 53.046875x21.46875 table-row-group children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (12,68.40625) content-size 53.046875x21.46875 table-row children: not-inline
|
||||
Box <tr> at (12,68.875) content-size 53.046875x21.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (14,70.40625) content-size 21.25x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (14,70.875) content-size 21.25x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 15.6875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [14,70.40625 15.6875x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [14,70.875 15.6875x17.46875]
|
||||
"B1"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (41.25,70.40625) content-size 23.796875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (41.25,70.875) content-size 23.796875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 18.15625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [41.25,70.40625 18.15625x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [41.25,70.875 18.15625x17.46875]
|
||||
"B2"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -68,19 +68,19 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
Box <tfoot> at (10,52.9375) content-size 53.046875x21.46875 table-footer-group children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (12,91.875) content-size 53.046875x21.46875 table-row children: not-inline
|
||||
Box <tr> at (12,92.34375) content-size 53.046875x21.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (14,93.875) content-size 21.25x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (14,94.34375) content-size 21.25x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 18.890625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [14,93.875 18.890625x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [14,94.34375 18.890625x17.46875]
|
||||
"F1"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (41.25,93.875) content-size 23.796875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (41.25,94.34375) content-size 23.796875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 21.359375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [41.25,93.875 21.359375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 2, rect: [41.25,94.34375 21.359375x17.46875]
|
||||
"F2"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -89,33 +89,33 @@ 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,119.34375) content-size 784x0 children: inline
|
||||
BlockContainer <(anonymous)> at (8,119.8125) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x127.34375]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x127.8125]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x111.34375]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 63.046875x111.34375]
|
||||
PaintableBox (Box<TABLE>#full-table) [8,40.9375 63.046875x76.40625] overflow: [8,8 61.046875x107.34375]
|
||||
PaintableWithLines (BlockContainer<CAPTION>) [8,8 59.046875x34.9375]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x111.8125]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [8,8 63.046875x111.8125]
|
||||
PaintableBox (Box<TABLE>#full-table) [8,41.40625 63.046875x76.40625] overflow: [8,8 61.046875x107.8125]
|
||||
PaintableWithLines (BlockContainer<CAPTION>) [8,8 59.046875x35.40625]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<THEAD>) [10,10 53.046875x21.46875] overflow: [10,10 57.046875x56.40625]
|
||||
PaintableBox (Box<TR>) [12,44.9375 53.046875x21.46875] overflow: [12,44.9375 55.046875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [12,44.9375 25.25x21.46875]
|
||||
PaintableBox (Box<THEAD>) [10,10 53.046875x21.46875] overflow: [10,10 57.046875x56.875]
|
||||
PaintableBox (Box<TR>) [12,45.40625 53.046875x21.46875] overflow: [12,45.40625 55.046875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [12,45.40625 25.25x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,44.9375 27.796875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,45.40625 27.796875x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TBODY>) [10,31.46875 53.046875x21.46875] overflow: [10,31.46875 57.046875x58.40625]
|
||||
PaintableBox (Box<TR>) [12,68.40625 53.046875x21.46875] overflow: [12,68.40625 55.046875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [12,68.40625 25.25x21.46875]
|
||||
PaintableBox (Box<TBODY>) [10,31.46875 53.046875x21.46875] overflow: [10,31.46875 57.046875x58.875]
|
||||
PaintableBox (Box<TR>) [12,68.875 53.046875x21.46875] overflow: [12,68.875 55.046875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [12,68.875 25.25x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,68.40625 27.796875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,68.875 27.796875x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TFOOT>) [10,52.9375 53.046875x21.46875] overflow: [10,52.9375 57.046875x60.40625]
|
||||
PaintableBox (Box<TR>) [12,91.875 53.046875x21.46875] overflow: [12,91.875 55.046875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [12,91.875 25.25x21.46875]
|
||||
PaintableBox (Box<TFOOT>) [10,52.9375 53.046875x21.46875] overflow: [10,52.9375 57.046875x60.875]
|
||||
PaintableBox (Box<TR>) [12,92.34375 53.046875x21.46875] overflow: [12,92.34375 55.046875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [12,92.34375 25.25x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,91.875 27.796875x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,92.34375 27.796875x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,119.34375 784x0]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,119.8125 784x0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue