23 lines
632 B
HTML
23 lines
632 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="author" title="Sammy Gill" href="mailto:sammy.gill@apple.com">
|
|
<link rel="help" href="https://drafts.csswg.org/css-grid-2/#auto-repeat">
|
|
<link rel="match" href="../../reference/ref-filled-green-100px-square-only.html">
|
|
<style>
|
|
.grid {
|
|
display: grid;
|
|
width: 100px;
|
|
grid-template-columns: repeat(auto-fit, minmax(calc(100% - 10px), calc(100% - 100px)));
|
|
background-color: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if there is a filled green square.</p>
|
|
<div class="grid">
|
|
<div style="height: 50px;"></div>
|
|
<div style="height: 50px;"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|