blob: 50c00a0f1e36ab6764609ffc8f170f27040dcf67 [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 Bottom, Bottom 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-bottom box's bottom margin is its computed value unless that value is 'auto'"/>
<style type="text/css"><![CDATA[
@page {
@right-bottom {
content: "";
border: 1pt solid black;
margin-bottom: 1in;
margin-right: 0.25in;
}
}
html, body {
margin: 0;
padding: 0;
height: 100%;
}
div {
position: absolute;
bottom: 0;
right: 0;
height: 1in;
background: #8EE5EE;
}
]]></style>
</head>
<body>
<div>There must be two rectangles on this page. The bottom of the box to the right should be even with the top of this box.</div>
</body>
</html>