1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Page Selector Grammar - @page auto</title>
5 <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com">
6 <link rel="author" title="Hewlett-Packard Company" href="http://www.hp.com/">
7 <link rel="help" href="http://www.w3.org/TR/css3-page/#syntax-page-selector">
8 <meta name="flags" content="paged invalid">
9 <style type="text/css">
10 @page { size: portrait; }
11 @page auto { size: landscape; }
12 div { page: auto }
13 </style>
14 </head>
15 <body>
16 <div>This paragraph should be printed in portrait layout: the short sides of the page should be top and bottom.</div>
17 </body>
18 </html>