blob: a89ed289c330e98d5f1b5125ebabc52245eae215 [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 border property physical units</title>
<link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
<link rel="help" href="http://www.w3.org/TR/css3-page/#page-properties"/>
<link rel="help" href="http://www.w3.org/TR/css3-page/#page-box-page-rule"/>
<meta name="flags" content="paged" />
<meta name="assert" content="A border declaration within the @page context applies to the page box."/>
<style type="text/css"><![CDATA[
@page {
border-color: aqua;
border-style: solid;
border-top-width: 2cm;
border-right-width: 4cm;
border-bottom-width: 0;
border-left-width: 1cm;
}
]]></style>
</head>
<body>
<div>When printed, this page must have an aqua border which is 1 cm thick on the left, 2 cm thick on top and 4 cm thick on the right. No border should appear on the bottom.</div>
</body>
</html>