-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
LibWeb: Three boxes with width 33.3333% don't always fit next to each other #22610
Comments
kalenikaliaksandr
added a commit
to kalenikaliaksandr/serenity
that referenced
this issue
Jan 6, 2024
Reverts 98926b4 that regressed (thrashing layout while window resizing): Tests/LibWeb/Layout/input/block-and-inline/small-percentage-margin.html Unfortunately, we currently can't capture such problems with layout tests, so this bug went unnoticed for quite a long time. Fixes SerenityOS#22610
kalenikaliaksandr
added a commit
to kalenikaliaksandr/serenity
that referenced
this issue
Jan 6, 2024
Reverts 98926b4 that regressed (thrashing layout while window resizing): Tests/LibWeb/Layout/input/block-and-inline/small-percentage-margin.html Unfortunately, we currently can't capture such problems with layout tests, so this bug went unnoticed for quite a long time. Fixes SerenityOS#22610
Here's a version of the test that always fails currently without needing to resize: <!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> |
kalenikaliaksandr
added a commit
to kalenikaliaksandr/serenity
that referenced
this issue
Jan 6, 2024
Reverts 98926b4 that regressed: block-and-inline/small-percentage-margin.html (thrashing layout while window resizing) Fixes SerenityOS#22610
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Seems like something goes wrong with the fixed-point math somewhere 馃槄
untitled.mp4
The text was updated successfully, but these errors were encountered: