mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 14:17:34 +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
|
@ -42,17 +42,17 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
line 0 width: 39.484375, height: 19, bottom: 19, baseline: 12.5
|
||||
frag 0 from TextNode start: 1, length: 5, rect: [235,65 27.484375x19]
|
||||
"bang "
|
||||
frag 1 from RadioButton start: 0, length: 0, rect: [262.484375,65.5 12x12]
|
||||
frag 1 from RadioButton start: 0, length: 0, rect: [262,65 12x12]
|
||||
TextNode <#text>
|
||||
RadioButton <input> at (262.484375,65.5) content-size 12x12 inline-block children: not-inline
|
||||
RadioButton <input> at (262,65) content-size 12x12 inline-block children: not-inline
|
||||
TextNode <#text>
|
||||
BlockContainer <p> at (235,84) content-size 139.984375x19 children: inline
|
||||
line 0 width: 57.15625, height: 19, bottom: 19, baseline: 12.5
|
||||
frag 0 from TextNode start: 1, length: 8, rect: [235,84 45.15625x19]
|
||||
"whimper "
|
||||
frag 1 from RadioButton start: 0, length: 0, rect: [280.15625,84.5 12x12]
|
||||
frag 1 from RadioButton start: 0, length: 0, rect: [280,84 12x12]
|
||||
TextNode <#text>
|
||||
RadioButton <input> at (280.15625,84.5) content-size 12x12 inline-block children: not-inline
|
||||
RadioButton <input> at (280,84) content-size 12x12 inline-block children: not-inline
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (235,103) content-size 139.984375x0 children: inline
|
||||
TextNode <#text>
|
||||
|
@ -110,9 +110,9 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
line 2 width: 470.578125, height: 13, bottom: 39, baseline: 9.5
|
||||
frag 0 from TextNode start: 167, length: 43, rect: [20,361 207.890625x13]
|
||||
"indistinguishably (to the pixel) from this "
|
||||
frag 1 from TextNode start: 0, length: 20, rect: [227.890625,361 103.015625x13]
|
||||
frag 1 from TextNode start: 0, length: 20, rect: [228,361 103.015625x13]
|
||||
"reference rendering,"
|
||||
frag 2 from TextNode start: 0, length: 31, rect: [330.90625,361 159.671875x13]
|
||||
frag 2 from TextNode start: 0, length: 31, rect: [331,361 159.671875x13]
|
||||
" (except font rasterization and"
|
||||
line 3 width: 465.015625, height: 13, bottom: 52, baseline: 9.5
|
||||
frag 0 from TextNode start: 32, length: 89, rect: [20,374 465.015625x13]
|
||||
|
@ -120,9 +120,9 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
line 4 width: 408.15625, height: 13, bottom: 65, baseline: 9.5
|
||||
frag 0 from TextNode start: 122, length: 67, rect: [20,387 345.546875x13]
|
||||
"Once you have finished evaluating this test, you can return to the "
|
||||
frag 1 from TextNode start: 0, length: 11, rect: [365.546875,387 59.890625x13]
|
||||
frag 1 from TextNode start: 0, length: 11, rect: [366,387 59.890625x13]
|
||||
"parent page"
|
||||
frag 2 from TextNode start: 0, length: 1, rect: [425.4375,387 2.71875x13]
|
||||
frag 2 from TextNode start: 0, length: 1, rect: [425,387 2.71875x13]
|
||||
"."
|
||||
TextNode <#text>
|
||||
InlineNode <a>
|
||||
|
@ -155,10 +155,10 @@ PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
|||
InlinePaintable (InlineNode<FORM>)
|
||||
PaintableWithLines (BlockContainer<P>) [235,65 139.984375x19]
|
||||
TextPaintable (TextNode<#text>)
|
||||
RadioButtonPaintable (RadioButton<INPUT>) [262.484375,65.5 12x12]
|
||||
RadioButtonPaintable (RadioButton<INPUT>) [262,65 12x12]
|
||||
PaintableWithLines (BlockContainer<P>) [235,84 139.984375x19]
|
||||
TextPaintable (TextNode<#text>)
|
||||
RadioButtonPaintable (RadioButton<INPUT>) [280.15625,84.5 12x12]
|
||||
RadioButtonPaintable (RadioButton<INPUT>) [280,84 12x12]
|
||||
PaintableWithLines (BlockContainer(anonymous)) [235,103 139.984375x0]
|
||||
PaintableWithLines (BlockContainer<LI>) [394.984375,45 80x120]
|
||||
TextPaintable (TextNode<#text>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue