serenity
serenity copied to clipboard
LibWeb: Prevent max-with expanding the width
This fixes #18778. Using the availlable space as the used with cased it to be infinite and makes no sense.
Hello!
One or more of the commit messages in this PR do not match the SerenityOS code submission policy, please check the lint_commits
CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.
Yes the same issue occurs on min-width but its not as trivial as max-width to fix. I will try to fix it tomorrow as well.