servo/tests/wpt/css-tests/css-grid-1_dev/xhtml1/reference/grid-layout-auto-tracks-ref.xht

45 lines
No EOL
1 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Grid Layout Reference</title>
<link href="mailto:myst.dg@gmail.com" rel="author" title="Leo Deng" />
<style>
body {
margin: 0;
padding: 0;
border: 0 none;
}
#caseTitle {
margin: 10px;
height: 40px;
}
#grid {
margin: 0;
width: 300px;
}
.a {
background: blue;
width: 100px;
float: left;
}
.b {
background: yellow;
width: 50px;
float: left;
}
.c {
background: pink;
width: 100px;
clear: both;
float: left;
}
</style>
</head>
<body>
<p id="caseTitle">The test passes if it has the same visual effect as reference.</p>
<div id="grid">
<div class="a">&#xA0;</div>
<div class="b">&#xA0;</div>
<div class="c">&#xA0;</div>
</div>
</body></html>