<!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>
