1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 10:35:06 +00:00
serenity/Tests/LibWeb/Layout/input/grid/minmax-with-max-function-inside.html
Aliaksandr Kalenik a8211abc1e LibWeb: Support CSS functions other than calc() for grid sizes
Makes grid size parser to handle not only calc() but min(), max() and
other CSS functions we support.
2023-06-21 06:14:51 +02:00

6 lines
No EOL
195 B
HTML

<style>
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(max(100px, 200px), 1fr));
}
</style><div class="grid"><div>a</div><div>b</div><div>c</div><div>d</div></div>