mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:07:46 +00:00
AK+LibWeb: Round to int in clamp_to_int instead of truncating
This caused inaccuracies in float->CssPixel conversions
This commit is contained in:
parent
7b7ba38655
commit
af161a8b83
58 changed files with 693 additions and 692 deletions
|
@ -17,10 +17,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <thead> at (10,10) content-size 53.03125x21.46875 table-header-group 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.03125x21.46875 table-row children: not-inline
|
||||
Box <tr> at (12,44.9375) 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
|
||||
|
@ -30,7 +30,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (41.25,46.9375) content-size 23.78125x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (41.25,46.9375) 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]
|
||||
"A2"
|
||||
|
@ -41,10 +41,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tbody> at (10,31.46875) content-size 53.03125x21.46875 table-row-group 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.03125x21.46875 table-row children: not-inline
|
||||
Box <tr> at (12,68.40625) 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
|
||||
|
@ -54,7 +54,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (41.25,70.40625) content-size 23.78125x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (41.25,70.40625) 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]
|
||||
"B2"
|
||||
|
@ -65,10 +65,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tfoot> at (10,52.9375) content-size 53.03125x21.46875 table-footer-group 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.03125x21.46875 table-row children: not-inline
|
||||
Box <tr> at (12,91.875) 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
|
||||
|
@ -78,7 +78,7 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (41.25,93.875) content-size 23.78125x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (41.25,93.875) 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]
|
||||
"F2"
|
||||
|
@ -100,22 +100,22 @@ PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
|||
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]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<THEAD>) [10,10 53.03125x21.46875] overflow: [10,10 57.03125x56.40625]
|
||||
PaintableBox (Box<TR>) [12,44.9375 53.03125x21.46875] overflow: [12,44.9375 55.03125x21.46875]
|
||||
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]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,44.9375 27.78125x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,44.9375 27.796875x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TBODY>) [10,31.46875 53.03125x21.46875] overflow: [10,31.46875 57.03125x58.40625]
|
||||
PaintableBox (Box<TR>) [12,68.40625 53.03125x21.46875] overflow: [12,68.40625 55.03125x21.46875]
|
||||
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]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,68.40625 27.78125x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,68.40625 27.796875x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TFOOT>) [10,52.9375 53.03125x21.46875] overflow: [10,52.9375 57.03125x60.40625]
|
||||
PaintableBox (Box<TR>) [12,91.875 53.03125x21.46875] overflow: [12,91.875 55.03125x21.46875]
|
||||
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]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,91.875 27.78125x21.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [39.25,91.875 27.796875x21.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,119.34375 784x0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue