mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 12:27: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
|
@ -12,9 +12,9 @@ Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|||
BlockContainer <(anonymous)> at (10,31.46875) content-size 780x0 children: inline
|
||||
TextNode <#text>
|
||||
Box <div.grid.center> at (11,32.46875) content-size 778x19.46875 [GFC] children: not-inline
|
||||
BlockContainer <div> at (373.484375,33.46875) content-size 53.046875x17.46875 [BFC] children: inline
|
||||
BlockContainer <div> at (373.46875,33.46875) content-size 53.046875x17.46875 [BFC] children: inline
|
||||
line 0 width: 53.046875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
|
||||
frag 0 from TextNode start: 0, length: 6, rect: [373.484375,33.46875 53.046875x17.46875]
|
||||
frag 0 from TextNode start: 0, length: 6, rect: [373.46875,33.46875 53.046875x17.46875]
|
||||
"Center"
|
||||
TextNode <#text>
|
||||
BlockContainer <(anonymous)> at (10,52.9375) content-size 780x0 children: inline
|
||||
|
@ -35,7 +35,7 @@ ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [10,31.46875 780x0]
|
||||
PaintableBox (Box<DIV>.grid.center) [10,31.46875 780x21.46875]
|
||||
PaintableWithLines (BlockContainer<DIV>) [372.484375,32.46875 55.046875x19.46875]
|
||||
PaintableWithLines (BlockContainer<DIV>) [372.46875,32.46875 55.046875x19.46875]
|
||||
TextPaintable (TextNode<#text>)
|
||||
PaintableWithLines (BlockContainer(anonymous)) [10,52.9375 780x0]
|
||||
PaintableBox (Box<DIV>.grid.end) [10,52.9375 780x21.46875]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue