mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:07:45 +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
|
@ -2,10 +2,10 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <html> at (0,0) content-size 800x33.46875 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 0x17.46875 children: inline
|
||||
line 0 width: 0, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,21.53125 0x0]
|
||||
SVGSVGBox <svg> at (8,21.53125) content-size 0x0 [SVG] children: not-inline
|
||||
frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,21 0x0]
|
||||
SVGSVGBox <svg> at (8,21) content-size 0x0 [SVG] children: not-inline
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x33.46875]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 0x17.46875]
|
||||
SVGSVGPaintable (SVGSVGBox<svg>) [8,21.53125 0x0]
|
||||
SVGSVGPaintable (SVGSVGBox<svg>) [8,21 0x0]
|
||||
|
|
|
@ -2,11 +2,11 @@ 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 784x17.46875 children: inline
|
||||
line 0 width: 8, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from ImageBox start: 0, length: 0, rect: [8,21.53125 0x0]
|
||||
frag 0 from ImageBox start: 0, length: 0, rect: [8,21 0x0]
|
||||
frag 1 from TextNode start: 0, length: 1, rect: [8,8 8x17.46875]
|
||||
" "
|
||||
frag 2 from SVGSVGBox start: 0, length: 0, rect: [16,21.53125 0x0]
|
||||
ImageBox <img> at (8,21.53125) content-size 0x0 children: not-inline
|
||||
frag 2 from SVGSVGBox start: 0, length: 0, rect: [16,21 0x0]
|
||||
ImageBox <img> at (8,21) content-size 0x0 children: not-inline
|
||||
(SVG-as-image isolated context)
|
||||
Viewport <#document> at (0,0) content-size 0x0 children: inline
|
||||
SVGSVGBox <svg> at (0,0) content-size 0x0 [SVG] children: inline
|
||||
|
@ -14,16 +14,16 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
SVGGeometryBox <rect> at (0,0) content-size 1x1 children: not-inline
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
SVGSVGBox <svg> at (16,21.53125) content-size 0x0 [SVG] children: inline
|
||||
SVGSVGBox <svg> at (16,21) content-size 0x0 [SVG] children: inline
|
||||
TextNode <#text>
|
||||
SVGGeometryBox <rect> at (16,21.53125) content-size 1x1 children: not-inline
|
||||
SVGGeometryBox <rect> at (16,21) content-size 1x1 children: not-inline
|
||||
TextNode <#text>
|
||||
TextNode <#text>
|
||||
|
||||
PaintableWithLines (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 784x17.46875]
|
||||
ImagePaintable (ImageBox<IMG>) [8,21.53125 0x0]
|
||||
ImagePaintable (ImageBox<IMG>) [8,21 0x0]
|
||||
TextPaintable (TextNode<#text>)
|
||||
SVGSVGPaintable (SVGSVGBox<svg>) [16,21.53125 0x0]
|
||||
SVGGeometryPaintable (SVGGeometryBox<rect>) [16,21.53125 1x1]
|
||||
SVGSVGPaintable (SVGSVGBox<svg>) [16,21 0x0]
|
||||
SVGGeometryPaintable (SVGGeometryBox<rect>) [16,21 1x1]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue