blob: f3a5b0460a88399bedde4565ba4477a49b9a9b77 [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 box content is oriented relative to content (Portrait)</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="Margin boxes are oriented with respect to the content and are independent of page orientation."/>
<style type="text/css"><![CDATA[
@page {
size: portrait;
@top-center { content: "Top"; }
@bottom-center { content: "Bottom"; }
@left-middle { content: "Left"; }
@right-middle { content: "Right"; }
}
]]></style>
</head>
<body>
<div>This paragraph should be printed in portrait layout (the long sides of the page should be left and right sides). This page should say &quot;Top&quot; above the content, &quot;Bottom&quot; at the bottom of the page, &quot;Left&quot; on the left side of the page and &quot;Right&quot; on the right side of the page.</div>
</body>
</html>