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:
parent
1f4f750052
commit
2887976ce9
3 changed files with 18 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
|||
<!doctype html><style>
|
||||
span {
|
||||
border: 1px solid black;
|
||||
display: inline-block;
|
||||
max-width: fit-content;
|
||||
}
|
||||
</style><span>hello friends
|
Loading…
Add table
Add a link
Reference in a new issue