mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:27:45 +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:
parent
c0a5787395
commit
3f022f4040
3 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,9 @@
|
|||
<!doctype html><style>
|
||||
body {
|
||||
width: max-content;
|
||||
}
|
||||
div {
|
||||
width: 200px;
|
||||
min-width: 100%;
|
||||
}
|
||||
</style><body><div>hello
|
Loading…
Add table
Add a link
Reference in a new issue