1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:07:35 +00:00

LibWeb: Implement rounding for PixelUnits

This commit is contained in:
Hendiadyoin1 2023-07-29 16:01:50 +02:00 committed by Alexander Kalenik
parent cc74083f27
commit 6c341ca985
79 changed files with 1638 additions and 1600 deletions

View file

@ -1,19 +1,19 @@
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x216.9375 children: inline
line 0 width: 174.828125, height: 216.9375, bottom: 216.9375, baseline: 213
frag 0 from TextNode start: 0, length: 6, rect: [8,207.46875 43.125x17.46875]
BlockContainer <body> at (8,8) content-size 784x216.46875 children: inline
line 0 width: 174.828125, height: 216.46875, bottom: 216.46875, baseline: 213
frag 0 from TextNode start: 0, length: 6, rect: [8,207 43.125x17.46875]
"Well, "
frag 1 from ImageBox start: 0, length: 0, rect: [51.125,33 64x138]
frag 2 from TextNode start: 0, length: 9, rect: [115.125,207.46875 67.703125x17.46875]
frag 1 from ImageBox start: 0, length: 0, rect: [51,33 64x138]
frag 2 from TextNode start: 0, length: 9, rect: [115,207 67.703125x17.46875]
" friends."
TextNode <#text>
ImageBox <img#image> at (51.125,33) content-size 64x138 children: not-inline
ImageBox <img#image> at (51,33) content-size 64x138 children: not-inline
TextNode <#text>
PaintableWithLines (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x216.9375]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x216.46875]
TextPaintable (TextNode<#text>)
ImagePaintable (ImageBox<IMG>#image) [51.125,33 64x138]
ImagePaintable (ImageBox<IMG>#image) [51,33 64x138]
TextPaintable (TextNode<#text>)