tor-browser

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

orphans-004b.xht (1307B)


      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: orphans property syntax - one</title>
      5 <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
      6 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
      7 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#break-inside"/>
      8 <link rel="help" href="http://www.w3.org/TR/css3-page/#breaks-inside"/>
      9 <meta name="flags" content="invalid paged" />
     10 <meta name="assert" content="The 'orphans' property accepts the integer one."/>
     11 <style type="text/css">
     12 	html, body {
     13 		height: 100%;
     14 		line-height: 1;
     15 		font-size: 20px;
     16 	}
     17 	* {
     18 		margin:0;
     19 		padding:0;
     20 	}
     21 	div.spacer {
     22 		height:50%;
     23 	}
     24 	div.backup {
     25 		margin-top: -1.5em;
     26 	}
     27 
     28 	.test {
     29 		color: blue;
     30 		width: 1em;
     31 		orphans: 2;
     32 		orphans: 01;
     33 	}
     34 
     35 </style>
     36 </head>
     37 <body>
     38 	<div class="spacer">This test requires 2 pages. The blue text must
     39 		denote accurate page numbers. Line A must appear on this page;
     40 		lines B-D on the next.</div>
     41 
     42 	<div class="spacer backup"></div>
     43 	<div class="test">
     44 		Page&nbsp;1&nbsp;Line&nbsp;A
     45 		Page&nbsp;2&nbsp;Line&nbsp;B
     46 		Page&nbsp;2&nbsp;Line&nbsp;C
     47 		Page&nbsp;2&nbsp;Line&nbsp;D
     48 	</div>
     49 </body>
     50 </html>