<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<link href="resources/grid.css" rel="stylesheet">
<style>
.gridWithNone {
grid-template-columns: none;
grid-template-rows: none;
}
.gridWithFixed {
grid-template-columns: 10px;
grid-template-rows: 15px;
}
.gridWithPercent {
grid-template-columns: 53%;
grid-template-rows: 27%;
}
.gridWithAuto {
grid-template-columns: auto;
grid-template-rows: auto;
}
.gridWithEM {
grid-template-columns: 10em;
grid-template-rows: 15em;
font: 10px Ahem;
}
.gridWithViewPortPercentage {
grid-template-columns: 8vw;
grid-template-rows: 10vh;
}
.gridWithFitContent {
grid-template-columns: -webkit-fit-content;
grid-template-rows: -webkit-fit-content;
}
.gridWithFitAvailable {
grid-template-columns: -webkit-fit-available;
grid-template-rows: -webkit-fit-available;
}
.gridWithMinMax {
grid-template-columns: minmax(10%, 15px);
grid-template-rows: minmax(20px, 50%);
}
.gridWithMinContent {
grid-template-columns: min-content;
grid-template-rows: min-content;
}
.gridWithMaxContent {
grid-template-columns: max-content;
grid-template-rows: max-content;
}
.gridWithFraction {
grid-template-columns: 1fr;
grid-template-rows: 2fr;
}
.gridWithCalc {
grid-template-columns: calc(150px);
grid-template-rows: calc(75px);
}
.gridWithCalcComplex {
grid-template-columns: calc(50% + 150px);
grid-template-rows: calc(65% + 75px);
}
.gridWithCalcInsideMinMax {
grid-template-columns: minmax(10%, calc(15px));
grid-template-rows: minmax(calc(20px), 50%);
}
.gridWithCalcComplexInsideMinMax {
grid-template-columns: minmax(10%, calc(50% + 15px));
grid-template-rows: minmax(calc(20px + 10%), 50%);
}
.gridWithAutoInsideMinMax {
grid-template-columns: minmax(auto, 20px);
grid-template-rows: minmax(min-content, auto);
}
</style>
<script src="../../resources/js-test.js"></script>
</head>
<body>
<div class="gridWithNone" id="gridWithNoneElement"></div>
<div class="gridWithFixed" id="gridWithFixedElement"></div>
<div class="gridWithPercent" id="gridWithPercentElement"></div>
<div class="gridWithAuto" id="gridWithAutoElement"></div>
<div class="gridWithEM" id="gridWithEMElement"></div>
<div class="gridWithViewPortPercentage" id="gridWithViewPortPercentageElement"></div>
<div class="gridWithFitContent" id="gridWithFitContentElement"></div>
<div class="gridWithFitAvailable" id="gridWithFitAvailableElement"></div>
<div class="gridWithMinMax" id="gridWithMinMax"></div>
<div class="gridWithMinContent" id="gridWithMinContent"></div>
<div class="gridWithMaxContent" id="gridWithMaxContent"></div>
<div class="gridWithFraction" id="gridWithFraction"></div>
<div class="gridWithCalc" id="gridWithCalc"></div>
<div class="gridWithCalcComplex" id="gridWithCalcComplex"></div>
<div class="gridWithCalcInsideMinMax" id="gridWithCalcInsideMinMax"></div>
<div class="gridWithCalcComplexInsideMinMax" id="gridWithCalcComplexInsideMinMax"></div>
<div class="gridWithAutoInsideMinMax" id="gridWithAutoInsideMinMax"></div>
<script src="resources/grid-definitions-parsing-utils.js"></script>
<script src="resources/non-grid-columns-rows-get-set.js"></script>
</body>
</html>