mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 04:17:35 +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
|
@ -0,0 +1,17 @@
|
|||
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
||||
BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
|
||||
BlockContainer <body> at (8,8) content-size 620x100 children: inline
|
||||
line 0 width: 619.96875, height: 100, bottom: 100, baseline: 100
|
||||
frag 0 from BlockContainer start: 0, length: 0, rect: [8,8 206.65625x100]
|
||||
frag 1 from BlockContainer start: 0, length: 0, rect: [215,8 206.65625x100]
|
||||
frag 2 from BlockContainer start: 0, length: 0, rect: [421,8 206.65625x100]
|
||||
BlockContainer <div> at (8,8) content-size 206.65625x100 inline-block [BFC] children: not-inline
|
||||
BlockContainer <div> at (215,8) content-size 206.65625x100 inline-block [BFC] children: not-inline
|
||||
BlockContainer <div> at (421,8) content-size 206.65625x100 inline-block [BFC] children: not-inline
|
||||
|
||||
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
||||
PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
|
||||
PaintableWithLines (BlockContainer<BODY>) [8,8 620x100]
|
||||
PaintableWithLines (BlockContainer<DIV>) [8,8 206.65625x100]
|
||||
PaintableWithLines (BlockContainer<DIV>) [215,8 206.65625x100]
|
||||
PaintableWithLines (BlockContainer<DIV>) [421,8 206.65625x100]
|
Loading…
Add table
Add a link
Reference in a new issue