page-name-000.xht (782B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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"><![CDATA[ 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>