mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 17:37:47 +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,13 +1,13 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (1,1) content-size 798x0 [BFC] children: not-inline
|
||||
BlockContainer <body> at (10,10) content-size 500x100 positioned [BFC] children: not-inline
|
||||
BlockContainer <div.image-container> at (261,11) content-size 248x28.484375 positioned [BFC] children: inline
|
||||
line 0 width: 250, height: 28.484375, bottom: 28.484375, baseline: 28.484375
|
||||
frag 0 from ImageBox start: 0, length: 0, rect: [262,12 248x26.484375]
|
||||
ImageBox <img> at (262,12) content-size 248x26.484375 children: not-inline
|
||||
BlockContainer <div.image-container> at (261,11) content-size 248x28.46875 positioned [BFC] children: inline
|
||||
line 0 width: 250, height: 28.46875, bottom: 28.46875, baseline: 28.46875
|
||||
frag 0 from ImageBox start: 0, length: 0, rect: [262,12 248x26.46875]
|
||||
ImageBox <img> at (262,12) content-size 248x26.46875 children: not-inline
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x2] overflow: [9,9 502x102]
|
||||
PaintableWithLines (BlockContainer<BODY>) [9,9 502x102]
|
||||
PaintableWithLines (BlockContainer<DIV>.image-container) [260,10 250x30.484375] overflow: [261,11 249x28.484375]
|
||||
ImagePaintable (ImageBox<IMG>) [261,11 250x28.484375]
|
||||
PaintableWithLines (BlockContainer<DIV>.image-container) [260,10 250x30.46875] overflow: [261,11 249x28.46875]
|
||||
ImagePaintable (ImageBox<IMG>) [261,11 250x28.46875]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue