1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:47:35 +00:00

LibWeb: Support fit-content width for block-level boxes

This commit is contained in:
Andreas Kling 2023-05-26 19:04:01 +02:00
parent a277c393b9
commit 1bb4e5c428
3 changed files with 21 additions and 0 deletions

View file

@ -0,0 +1,8 @@
<!doctype html><style>
* { border: 1px solid black; }
.box {
background: pink;
display: block;
width: fit-content;
}
</style><div class="box">Well hello friends</div>