1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 09:18:11 +00:00

LibWeb: Fully resolve max-width values on inline-block elements

This fixes an issue where `max-width: fit-content` (and other
layout-dependent values) were treated as 0 on inline-blocks.
This commit is contained in:
Andreas Kling 2023-07-15 10:43:39 +02:00
parent 1f4f750052
commit 2887976ce9
3 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,7 @@
<!doctype html><style>
span {
border: 1px solid black;
display: inline-block;
max-width: fit-content;
}
</style><span>hello friends