tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

page-properties-000.xht (1088B)


      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 width and height</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/#page-box-page-rule"/>
      8   <link rel="help" href="http://www.w3.org/TR/css3-page/#page-properties"/>
      9   <meta name="flags" content="paged" />
     10   <meta name="assert" content="The 'width' and 'height' properties do not apply to a page box."/>
     11   <style type="text/css"><![CDATA[
     12    @page  {
     13 		width: 1in;
     14 		height: 1in;
     15 		border: 2pt solid black;
     16 	}
     17 	div.biggerBox {
     18 		width: 2in;
     19 		height: 2in;
     20 		border: 1pt solid black;
     21 	}
     22   ]]></style>
     23  </head>
     24  <body>
     25   <div>This page should have a black border. The area inside the border should be larger than 1in&#215;1in. The box below should be 2in&#215;2in; and fit on the page.</div>
     26   <div class="biggerBox"></div>
     27  </body>
     28 </html>