fixed-table-layout-017-ref.html (918B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <html> 3 <head> 4 <title>CSS Reftest Reference</title> 5 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 6 <link rel="author" title="Adapted for vertical layout by Simon Montagu" href="http:/mozilla.org/"> 7 <style type="text/css"> 8 div.test { 9 writing-mode: vertical-lr; 10 padding-left: 4px; } 11 div.stripe 12 { 13 width: 24px; 14 margin-right: 4px; 15 margin-top: 172px; 16 height: 160px; 17 } 18 div.blue {background-color: blue;} 19 div.orange {background-color: orange; margin-left: 0px} 20 </style> 21 </head> 22 <body> 23 <p>Test passes if the orange stripe is exactly as high as the blue stripe and is vertically positioned the same.</p> 24 <div class="test"> 25 <div class="orange stripe"></div> 26 <div class="blue stripe"></div> 27 </div> 28 </body> 29 </html>