blob: e2835869404644402d64f123f1e37365f3f33118 [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: Page Size - Handling Page Size - A4</title>
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
<link rel="help" href="http://www.w3.org/TR/css3-page/#page-size"/>
<meta name="flags" content="paged" />
<meta name="assert" content="If a preferred output media size is indicated via length or page-size values for the 'size' property, output must be rendered on the media size indicated if available." />
<style type="text/css">
@page {
size: A4;
border:1px solid #000;
margin: 7%;
}
</style>
</head>
<body>
<p>Test Precondition: If the printer can sense media size, load A4 size (210mm by 297mm) media into one printer input bin, and load other sizes into other bins, if any. If the printer <em>cannot</em> sense media size, load A4 size media into the default input bin.</p>
<p>If A4-size paper is available, this page must be printed on A4-size paper. In that case, a rectangle delineated with a thin black line is centered on the page. If A4-size paper is not available, a rectangle should still appear; but it might not be centered.</p>
</body>
</html>