layout/reftests/css-grid/grid-track-sizing-001.html
author Sebastian Hengst <archaeopteryx@coole-files.de>
Sun, 05 Feb 2023 13:12:06 +0100
changeset 651755 2e6262a410b7c25a3a7349825a7367462d4420fa
parent 234225 41827d04d683fedfc7e55ff33435d9d6ea34ad17
permissions -rw-r--r--
Bug 1815090 - regenerate certificates in build/pgo/certs/. a=me * the build/pgo/certs/ changes were made using `./mach python build/pgo/genpgocert.py`

<!DOCTYPE HTML>
<!--
     Any copyright is dedicated to the Public Domain.
     http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>Test simple track sizing and grid item layout</title>
<style>
html,body {
    color:black; background-color:white; font-size:16px; padding:0; margin:0;
}
span {
  border: 3px dashed;
  margin:3px 5px 7px 11px;
}
.grid {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 37px 57px 73px;
  grid-auto-rows: 47px;
  grid-auto-columns: 53px;
}
span.bg {
  background: lime;
  border: 0 none;
}
</style>
</head>
<body>
<div class="grid">
  <span style="grid-column: 1; grid-row: 2;" class="bg"></span>
  <span style="grid-column: 1; grid-row: 2;">1</span>
  <span style="grid-column: 2; grid-row: 1;" class="bg"></span>
  <span style="grid-column: 2; grid-row: 1;">2</span>
  <span style="grid-column: 3; grid-row: 1;" class="bg"></span>
  <span style="grid-column: 3; grid-row: 1; margin:0">3</span>
  <span style="grid-column: 1 / span 2; margin-top:0; width:500px" class="bg">4</span>
  <span style="grid-column: 1 / span 2; margin:0; height:10px;" class="bg">5</span>
</div>
</body>
</html>