1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:17:45 +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:
Aliaksandr Kalenik 2024-01-06 06:08:23 +01:00 committed by Andreas Kling
parent 7db8b206a8
commit e7eaf3b566
32 changed files with 257 additions and 245 deletions

View file

@ -0,0 +1,12 @@
<!doctype html><style>
body {
background: black;
width: 620px;
}
div {
display: inline-block;
width: 33.3333%;
height: 100px;
background: orange;
}
</style><body><div></div><div></div><div></div>