mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:57: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,146 +1,146 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x210.34375 [BFC] children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x215.34375 [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <body> at (8,8) content-size 784x194.34375 children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 784x199.34375 children: not-inline
|
||||
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <div.horizontal> at (8,8) content-size 784x194.34375 children: inline
|
||||
line 0 width: 160.90625, height: 194.34375, bottom: 194.34375, baseline: 194.34375
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 158.90625x192.34375]
|
||||
BlockContainer <div.horizontal> at (8,8) content-size 784x199.34375 children: inline
|
||||
line 0 width: 163.90625, height: 199.34375, bottom: 199.34375, baseline: 199.34375
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [9,9 161.90625x197.34375]
|
||||
TextNode <#text>
|
||||
BlockContainer <table> at (9,9) content-size 158.90625x192.34375 inline-block [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (9,9) content-size 158.90625x0 children: inline
|
||||
BlockContainer <table> at (9,9) content-size 161.90625x197.34375 inline-block [BFC] children: not-inline
|
||||
BlockContainer <(anonymous)> at (9,9) content-size 161.90625x0 children: inline
|
||||
TextNode <#text>
|
||||
TableWrapper <(anonymous)> at (9,9) content-size 158.90625x192.34375 inline-block [BFC] children: not-inline
|
||||
Box <(anonymous)> at (9,9) content-size 158.90625x192.34375 inline-table table-box [TFC] children: not-inline
|
||||
Box <tbody> at (9,9) content-size 158.90625x192.34375 table-row-group children: not-inline
|
||||
TableWrapper <(anonymous)> at (9,9) content-size 161.90625x197.34375 inline-block [BFC] children: not-inline
|
||||
Box <(anonymous)> at (9,9) content-size 161.90625x197.34375 inline-table table-box [TFC] children: not-inline
|
||||
Box <tbody> at (9,9) content-size 161.90625x197.34375 table-row-group children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (9,9) content-size 158.90625x38.46875 table-row children: not-inline
|
||||
Box <tr> at (9,9) content-size 161.90625x39.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (29.5,19.5) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (30,20) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 14.265625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [29.5,19.5 14.265625x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [30,20 14.265625x17.46875]
|
||||
"A"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (84.765625,19.5) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (86.265625,20) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 9.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [86.359375,19.5 9.34375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [88.265625,20 9.34375x17.46875]
|
||||
"B"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (138.3125,19.5) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (140.8125,20) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 6.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [139.6875,19.5 6.34375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [141.8125,20 6.34375x17.46875]
|
||||
"1"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (9,47.46875) content-size 158.90625x38.46875 table-row children: not-inline
|
||||
Box <tr> at (9,48.46875) content-size 161.90625x39.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (29.5,57.96875) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (30,59.46875) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 10.3125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [31.46875,57.96875 10.3125x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [32,59.46875 10.3125x17.46875]
|
||||
"C"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (84.765625,57.96875) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (86.265625,59.46875) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 11.140625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [85.46875,57.96875 11.140625x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [87.265625,59.46875 11.140625x17.46875]
|
||||
"D"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (138.3125,57.96875) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (140.8125,59.46875) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 8.8125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [138.453125,57.96875 8.8125x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [140.8125,59.46875 8.8125x17.46875]
|
||||
"2"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (9,85.9375) content-size 158.90625x38.46875 table-row children: not-inline
|
||||
Box <tr> at (9,87.9375) content-size 161.90625x39.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (29.5,96.4375) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (30,98.9375) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 11.859375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [30.703125,96.4375 11.859375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [31,98.9375 11.859375x17.46875]
|
||||
"E"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (84.765625,96.4375) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (86.265625,98.9375) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 12.546875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [84.765625,96.4375 12.546875x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [86.265625,98.9375 12.546875x17.46875]
|
||||
"F"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (138.3125,96.4375) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (140.8125,98.9375) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 9.09375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [138.3125,96.4375 9.09375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [140.8125,98.9375 9.09375x17.46875]
|
||||
"3"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (9,124.40625) content-size 158.90625x38.46875 table-row children: not-inline
|
||||
Box <tr> at (9,127.40625) content-size 161.90625x39.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (29.5,134.90625) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (30,138.40625) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 13.234375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [30.015625,134.90625 13.234375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [31,138.40625 13.234375x17.46875]
|
||||
"G"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (84.765625,134.90625) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (86.265625,138.40625) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 12.234375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [84.921875,134.90625 12.234375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [86.265625,138.40625 12.234375x17.46875]
|
||||
"H"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (138.3125,134.90625) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (140.8125,138.40625) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 7.75, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [138.984375,134.90625 7.75x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [141.8125,138.40625 7.75x17.46875]
|
||||
"4"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
Box <tr> at (9,162.875) content-size 158.90625x38.46875 table-row children: not-inline
|
||||
Box <tr> at (9,166.875) content-size 161.90625x39.46875 table-row children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (29.5,173.375) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (30,177.875) content-size 14.265625x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 4.59375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [34.328125,173.375 4.59375x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [35,177.875 4.59375x17.46875]
|
||||
"I"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (84.765625,173.375) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (86.265625,177.875) content-size 12.546875x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 8.90625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [86.578125,173.375 8.90625x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [88.265625,177.875 8.90625x17.46875]
|
||||
"J"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
BlockContainer <td> at (138.3125,173.375) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
BlockContainer <td> at (140.8125,177.875) content-size 9.09375x17.46875 table-cell [BFC] children: inline
|
||||
line 0 width: 8.453125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [138.625,173.375 8.453125x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 1, rect: [140.8125,177.875 8.453125x17.46875]
|
||||
"5"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
|
@ -150,53 +150,53 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <(anonymous)> (not painted) children: inline
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (8,202.34375) content-size 784x0 children: inline
|
||||
BlockContainer <(anonymous)> at (8,207.34375) content-size 784x0 children: inline
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x210.34375]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x215.34375]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x194.34375]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x199.34375]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
||||
PaintableWithLines (BlockContainer<DIV>.horizontal) [8,8 784x194.34375]
|
||||
PaintableWithLines (BlockContainer<TABLE>) [8,8 160.90625x194.34375]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [9,9 158.90625x0]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [9,9 158.90625x192.34375]
|
||||
PaintableBox (Box(anonymous)) [9,9 158.90625x192.34375]
|
||||
PaintableBox (Box<TBODY>) [9,9 158.90625x192.34375]
|
||||
PaintableBox (Box<TR>) [9,9 158.90625x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,9 55.265625x38.46875]
|
||||
PaintableWithLines (BlockContainer<DIV>.horizontal) [8,8 784x199.34375]
|
||||
PaintableWithLines (BlockContainer<TABLE>) [8,8 163.90625x199.34375]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [9,9 161.90625x0]
|
||||
PaintableWithLines (TableWrapper(anonymous)) [9,9 161.90625x197.34375]
|
||||
PaintableBox (Box(anonymous)) [9,9 161.90625x197.34375]
|
||||
PaintableBox (Box<TBODY>) [9,9 161.90625x197.34375]
|
||||
PaintableBox (Box<TR>) [9,9 161.90625x39.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,9 56.265625x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [64.265625,9 53.546875x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [65.265625,9 54.546875x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [117.8125,9 50.09375x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [119.8125,9 51.09375x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TR>) [9,47.46875 158.90625x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,47.46875 55.265625x38.46875]
|
||||
PaintableBox (Box<TR>) [9,48.46875 161.90625x39.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,48.46875 56.265625x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [64.265625,47.46875 53.546875x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [65.265625,48.46875 54.546875x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [117.8125,47.46875 50.09375x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [119.8125,48.46875 51.09375x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TR>) [9,85.9375 158.90625x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,85.9375 55.265625x38.46875]
|
||||
PaintableBox (Box<TR>) [9,87.9375 161.90625x39.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,87.9375 56.265625x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [64.265625,85.9375 53.546875x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [65.265625,87.9375 54.546875x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [117.8125,85.9375 50.09375x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [119.8125,87.9375 51.09375x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TR>) [9,124.40625 158.90625x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,124.40625 55.265625x38.46875]
|
||||
PaintableBox (Box<TR>) [9,127.40625 161.90625x39.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,127.40625 56.265625x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [64.265625,124.40625 53.546875x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [65.265625,127.40625 54.546875x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [117.8125,124.40625 50.09375x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [119.8125,127.40625 51.09375x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableBox (Box<TR>) [9,162.875 158.90625x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,162.875 55.265625x38.46875]
|
||||
PaintableBox (Box<TR>) [9,166.875 161.90625x39.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [9,166.875 56.265625x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [64.265625,162.875 53.546875x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [65.265625,166.875 54.546875x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer<TD>) [117.8125,162.875 50.09375x38.46875]
|
||||
PaintableWithLines (BlockContainer<TD>) [119.8125,166.875 51.09375x39.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,202.34375 784x0]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [8,207.34375 784x0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue