overflow-print-001.xht (1087B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Overflow 'scroll' and printing</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#overflow" /> 7 <meta name="flags" content="may paged" /> 8 <meta name="assert" content="The 'overflow' property set to 'scroll' acts like 'visible' when element is printed." /> 9 <style type="text/css"> 10 #div1 11 { 12 height: 30px; 13 overflow: scroll; 14 width: 45px; 15 } 16 </style> 17 </head> 18 <body> 19 <p>PREREQUISITE: Switch to print preview or a paged media view of the page.</p> 20 <p>Test passes if the words "Filler Text" below are only partially visible or are completely visible.</p> 21 <div id="div1"> 22 <div>Filler Text Filler Text</div> 23 </div> 24 </body> 25 </html>