blob: 4411b2b2ff1242ccf4f84bec5e8c0ced6c7d9e05 [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 - Right 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 right-top box's top margin is its computed value unless that value is 'auto'"/>
<style type="text/css"><![CDATA[
@page {
@right-top {
content: "";
border: 1pt solid black;
margin-top: 1in;
margin-right: 0.25in;
}
}
html, body {
margin: 0;
padding: 0;
height: 100%;
}
div {
position: absolute;
top: 0;
right: 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 right should align with the bottom edge of this box.</div>
</body>
</html>