servo/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1print/reference/justify-content-001-ref.xht

25 lines
No EOL
741 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><meta charset="utf-8" />
<title>CSS Reference</title>
<link href="http://www.intel.com" rel="author" title="Intel" />
<style>
#blue {
background: blue;
height: 100px;
width: 150px;
}
#orange {
background: orange;
height: 100px;
left: 150px;
position: relative;
top: -100px;
width: 150px;
}
</style>
</head><body>
<p>Test passes if there is a single blue rectangle on the left, a single orange rectangle directly to its right, and there is no red visible on the page.</p>
<div id="blue"></div>
<div id="orange"></div>
</body></html>