mirror of
https://github.com/RGBCube/serenity
synced 2025-07-07 07:27:35 +00:00

This fixes a bug that was seen when a combination of the grid having been floated with `float: left` and a `minmax()` column size were used. The issue was that a grid track size should be considered intrinsically sized if both the min and max sizes are intrinsic, not just one of them.
24 lines
338 B
HTML
24 lines
338 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<style>
|
|
body {
|
|
float: left;
|
|
font-family: 'SerenitySans';
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 20px;
|
|
}
|
|
|
|
.whee {
|
|
background: pink;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="grid">
|
|
<div class="whee" style="border: 1px solid black;">whee
|