1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 09:15:08 +00:00
serenity/Tests/LibWeb/Layout/input/grid/grid-template-columns-with-min-css-function.html
Andreas Kling 741c7aef21 LibWeb: Support more CSS functions in grid track size lists
Instead of hard-coding a check for "calc", we now call out to
parse_dynamic_value() which allows use of other functions like min(),
max(), clamp(), etc.
2023-06-12 17:51:08 +02:00

11 lines
No EOL
262 B
HTML

<!DOCTYPE html><style>
* { border: 1px solid black; }
body {
display: grid;
grid-template-columns: 1fr min(89ch, 100% - 89px) 1fr;
}
h1 {
grid-column: 2 / auto;
margin: 0;
}
</style><body><h1>hello friends</h1>