blob: f0a4b3d06aef28cc8a1cdf83843699ec1b49faf8 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link href="resources/grid.css" rel="stylesheet">
<link href="resources/grid-alignment.css" rel="stylesheet">
<style>
.intrinsic {
grid-template-rows: max-content;
grid-template-columns: max-content;
height: 500px;
width: 500px;
}
.percentage {
grid-template-rows: 100%;
grid-template-columns: 100%;
height: 100%;
width: 100%;
}
</style>
</head>
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('.percentage');">
<p>This test checks that percentage track breadths of intrinsic size are treated as auto.</p>
<div class="grid intrinsic contentStart">
<div class="grid percentage">
<div class="sizedToGridArea" data-expected-width="50" data-expected-height="10">XXXXX</div>
</div>
</div>
</body>
</html>