mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:57:36 +00:00
LibWeb: Remove rounding division for CSSPixels
Reverts 98926b487c
that regressed: block-and-inline/small-percentage-margin.html
(thrashing layout while window resizing)
Fixes https://github.com/SerenityOS/serenity/issues/22610
This commit is contained in:
parent
7db8b206a8
commit
e7eaf3b566
32 changed files with 257 additions and 245 deletions
|
@ -1,11 +1,11 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x70 [BFC] children: not-inline
|
||||
Box <body> at (10,10) content-size 780x52 flex-container(row) [FFC] children: not-inline
|
||||
ImageBox <img> at (11,11) content-size 66.671875x50 flex-item children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x69.96875 [BFC] children: not-inline
|
||||
Box <body> at (10,10) content-size 780x51.96875 flex-container(row) [FFC] children: not-inline
|
||||
ImageBox <img> at (11,11) content-size 66.65625x49.984375 flex-item children: not-inline
|
||||
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
||||
TextNode <#text>
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x72]
|
||||
PaintableBox (Box<BODY>) [9,9 782x54]
|
||||
ImagePaintable (ImageBox<IMG>) [10,10 68.671875x52]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x71.96875]
|
||||
PaintableBox (Box<BODY>) [9,9 782x53.96875] overflow: [10,10 780x51.984375]
|
||||
ImagePaintable (ImageBox<IMG>) [10,10 68.65625x51.984375]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue