gecko-dev/layout/reftests/css-grid/bug1350925.html

33 строки
626 B
HTML

<!DOCTYPE HTML>
<!--
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<html><head>
<meta charset="utf-8">
<title>Testcase for bug 1350925</title>
<style type="text/css">
html, body, .grid { margin: 0; }
.grid {
display: grid;
overflow: auto;
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div style="height:300px; width:100px">
<div class="grid"><div style="width:10px;height:700px"></div></div>
</div>
<div style="width:300px; height:100px">
<div class="grid"><div style="height:10px;width:700px"></div></div>
</div>
</body>
</html>