<!DOCTYPE html>
<head>
<style>
* {
     display: inline-grid;
     height: calc(100% - 10px);
     grid-template-rows: minmax(100%, max-content);
}
</style>
<script type="text/javascript">
if (window.testRunner)
    testRunner.dumpAsText();
</script>
</head>
<body>
<summary>
    <div></div>
</summary>
<p>This test has PASSED if it didn't CRASH on Debug builds.</p>
</body>
