blob: 89008e2611d4aaee4bdcd58eb92fdf63815bb184 [file] [log] [blame]
[email protected]94df3542013-02-19 15:36:161<!DOCTYPE html>
2<html>
[email protected]94df3542013-02-19 15:36:163<link href=resources/grid.css rel=stylesheet>
4<style>
5.gridNoRow {
[email protected]362c6b522014-01-30 18:09:066 grid-template-columns: 50px;
[email protected]94df3542013-02-19 15:36:167 /* Make the grid shrink-to-fit. */
8 position: absolute;
9}
10.gridNoColumn {
[email protected]362c6b522014-01-30 18:09:0611 grid-template-rows: 50px 80px;
[email protected]94df3542013-02-19 15:36:1612 /* Make the grid shrink-to-fit. */
13 position: absolute;
14}
15</style>
16<script src="../../resources/check-layout.js"></script>
17<body onload="checkLayout('.grid');">
18<p>This test checks that a grid element with row(s) (resp. column(s)) but no column (resp. row) is properly laid out.</p>
19<div class="grid gridNoRow" data-expected-width="50" data-expected-height="0"></div>
20<div class="grid gridNoColumn" data-expected-width="0" data-expected-height="130"></div>
21</body>
22</html>