mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
LibWeb: Support fit-content width for block-level boxes
This commit is contained in:
parent
a277c393b9
commit
1bb4e5c428
3 changed files with 21 additions and 0 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue