1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

LibWeb: Treat non-finite containing block width as zero for percentages

Fixes an assertion when loading https://bun.sh/
This commit is contained in:
Andreas Kling 2023-07-01 08:27:47 +02:00
parent c0a5787395
commit 3f022f4040
3 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,9 @@
<!doctype html><style>
body {
width: max-content;
}
div {
width: 200px;
min-width: 100%;
}
</style><body><div>hello