mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:57:46 +00:00
LibWeb: Resolve block max-width percentage against containing block
This commit is contained in:
parent
8df3e6b203
commit
2285dfb80e
5 changed files with 37 additions and 24 deletions
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html><style>
|
||||
* {
|
||||
border: 1px solid black;
|
||||
}
|
||||
|
||||
.text {
|
||||
width: min-content;
|
||||
max-width: 50%;
|
||||
display: block;
|
||||
}
|
||||
</style><body><span class="text">Trimmed
|
Loading…
Add table
Add a link
Reference in a new issue