1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:37:45 +00:00

LibWeb: Add support for the inline-size CSS property

This commit is contained in:
implicitfield 2024-03-06 18:12:09 +04:00 committed by Andreas Kling
parent dd593d16c4
commit 18fe86adc3
5 changed files with 35 additions and 7 deletions

View file

@ -19,7 +19,14 @@
max-inline-size: 100px;
writing-mode: horizontal-tb;
}
.inline-size-test {
background: blue;
inline-size: 400px;
height: 200px;
}
</style>
<p class="min-inline-test">KK</p>
<br>
<p class="max-inline-test">KK</p>
<br>
<p class="inline-size-test">KK</p>