servo/tests/wpt/css-tests/css-align-3_dev/xhtml1print/ttwf-reftest-alignContent.xht
Ms2ger 296fa2512b Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180.
- Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
2017-02-06 22:38:29 +01:00

39 lines
No EOL
987 B
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>ttwf-reftest-alignContent-ref</title>
<link href="mailto:hckang80@gmail.com" rel="author" title="Heechang Kang" />
<link href="http://www.w3.org/TR/css3-align/#content-distribution" rel="help" />
<style type="text/css">
#main{
display:flex;
flex-flow:row wrap;
align-content:space-around;
position:relative;
width:70px;
height:170px;
border:1px solid #c3c3c3;
}
#main .sample{
position:absolute;
left:0;
top:50%;
z-index:-1;
margin:-35px 0 0;
}
#main &gt; span{
display:inline-block;
width:70px;
height:70px;
vertical-align:middle;
}
</style>
</head>
<body>
<p>PASS if there is no red box.</p>
<div id="main">
<span style="background-color:red;" class="sample"></span>
<span style="background-color:green;"></span>
</div>
</body></html>