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
Notes: sideshowbarker 2024-07-16 23:34:49 +09:00
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">