tor-browser

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

page-break-inside-000.xht (1319B)


      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-break-inside: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/CSS21/page.html#page-break-props"/>
      8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property"/>
      9 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details"/>
     10 <meta name="flags" content="paged" />
     11 <meta name="assert" content="The 'auto' value of the 'page-break-inside' property neither forces nor forbids a page break inside the box."/>
     12 <style type="text/css">
     13 	html,body {
     14 		font-size:12pt;
     15 		line-height:1;
     16 		height:100%;
     17 		margin:0;
     18 	}
     19 	.marginDiv1, .marginDiv2 {
     20 		height:50%;
     21 	}
     22 	.marginDiv2 {
     23 		margin-top:-5em;
     24 	}
     25 	div.break {
     26 		page-break-inside:auto;
     27 		width:4em;
     28 	}
     29 </style>
     30 </head>
     31 <body>
     32 	<div class="marginDiv1"></div>
     33 	<div class="marginDiv2"></div>
     34 	<div>There must be a page break below between "FIRST" and "LAST"</div>
     35 	<div class="break">
     36 		FIRST
     37 		dummy
     38 		dummy
     39 		dummy
     40 		dummy
     41 		dummy
     42 		dummy
     43 		dummy
     44 		dummy
     45 		dummy
     46 		LAST
     47 	</div>
     48 </body>
     49 </html>