379349-3a.xhtml (1726B)
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" class="reftest-paged"> 3 <head> 4 <title>CSS 2.1 Test Suite: Overflow Pagination (Multiple)</title> 5 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#the-height-property"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units"/> 8 <style type="text/css"> 9 .container { 10 height: 24pt; 11 /* background: red; See bug 380013 for why this is commented out */ 12 } 13 .overflow { 14 border: solid 2pt silver; 15 height: 25in; 16 border-bottom: 4pt solid red; 17 } 18 #following { 19 margin: -1in 0; 20 height: 72pt; 21 border: 2pt black; 22 border-style: none solid; 23 background: white; 24 font-size: 10pt; 25 line-height: 10pt; 26 text-align: center; 27 color: blue; 28 } 29 .no2 .overflow { 30 height: 24.66667in; 31 } 32 .no3 .overflow { 33 height: 24.33333in; 34 border-bottom-color: blue; 35 } 36 .fill { 37 height: 75in; 38 } 39 </style> 40 </head> 41 <body> 42 <div class="container no1"> 43 <div class="overflow"> 44 </div> 45 </div> 46 <div class="container no2"> 47 <div class="overflow"> 48 </div> 49 </div> 50 <div class="container no3"> 51 <div class="overflow"> 52 </div> 53 </div> 54 <p id="following"> 55 This paragraph must be on the first page in paged media. 56 There must be no red on any page. There must be a blue line 57 on a page <em>after</em> the first (assuming the page area 58 is shorter than 25 inches). 59 </p> 60 <div class="fill"> 61 </div> 62 </body> 63 </html>