servo/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/flexbox_item-top-float.xht

29 lines
No EOL
672 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>flexbox | floated item</title>
<link href="http://opera.com" rel="author" title="Opera Software" />
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-property" rel="help" />
<link href="reference/flexbox_item-top-float-ref.xht" rel="match" />
<style>
div {
background: black;
margin: 1em;
width: 400px;
display: flex;
}
p {
background: #3366cc;
margin: 2em;
width: 2em;
height: 2em;
float: -o-top-corner;
}
</style>
</head><body><div>
<p></p>
<p></p>
<p></p>
<p></p>
</div>
</body></html>