blob: 2d84b5a9370cb67494076ac6b51411b148f11064 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Test: Margin Boxes - Left Top, Top Margin</title>
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
<link rel="help" href="http://www.w3.org/TR/css3-page/#margin-boxes"/>
<meta name="flags" content="paged" />
<meta name="assert" content="The used value of the left-top box's top margin is its computed value unless that value is 'auto'"/>
<style type="text/css"><![CDATA[
@page {
@left-top {
content: "";
border: 1pt solid black;
margin-top: 1in;
margin-left: 0.25in;
}
}
html, body {
margin: 0;
padding: 0;
}
div {
position: absolute;
top: 0;
left: 0;
height: 1in;
background: #8EE5EE;
}
]]></style>
</head>
<body>
<div>There must be two rectangles on this page. The top edge of the box to the left should align with the bottom edge of this box.</div>
</body>
</html>