1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibWeb: Prevent max-width expanding the width

This commit is contained in:
Emil Militzer 2023-07-11 16:22:25 +02:00 committed by Andreas Kling
parent c006a1ef41
commit bf3144fcff
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,8 @@
<!doctype html><style>
* { border: 1px solid black; }
body { position: absolute; }
.inner {
max-width: 50px;
height: 50px;
}
</style><body><div class="outer"><div class="inner">