1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:37:34 +00:00

LibWeb: Remove setting length to 0px if it is not definite

If available width (or height) is max-content and width (or height)
value is 100% it should be resolved in infinite px, not 0 px.

Fixes #18639
This commit is contained in:
Aliaksandr Kalenik 2023-05-04 23:39:13 +03:00 committed by Andreas Kling
parent b443c0b80b
commit 0318ac5ce4
3 changed files with 13 additions and 6 deletions

View file

@ -0,0 +1,5 @@
<!doctype html><style>
* { border: 1px solid black; font-family: 'SerenitySans'; }
body { position: absolute; }
div { max-width: 100%; }
</style><body><div>well hello friends