block-flow-direction-vrl-026.xht (1568B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>CSS Writing Modes Test: vertical-rl - block flow direction of block-level boxes</title> 6 <link rel="author" title="Taka Oshiyama" href="mailto:takaoshiyama@gmail.com" /> 7 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 8 <link rel="help" title="3.1. Block Flow Direction: the 'writing-mode' property" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" /> 9 <link rel="match" href="block-flow-direction-vrl-026-ref.xht" /> 10 <meta name="flags" content="ahem" /> 11 <meta name="assert" content="This test checks 1.block flow direction, 2.inline direction when 'writing-mode' is set to 'vertical-rl'." /> 12 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 13 <style type="text/css"> 14 .view_ahem 15 { 16 background: pink; 17 border: 1px solid black; 18 color: blue; 19 font: 20px/1 "Ahem"; 20 height: 3em; 21 margin: 10px; 22 width: 3em; 23 white-space: pre; 24 } 25 #test_ahem 26 { 27 writing-mode: vertical-rl; 28 } 29 #control_ahem 30 { 31 writing-mode: horizontal-tb; 32 } 33 </style> 34 </head> 35 <body> 36 <p>Test passes if the 2 pink-and-blue rectangles are <strong>identical</strong>.</p> 37 <div class="view_ahem"><span id="test_ahem">123 38 56 39 7 </span></div> 40 <div class="view_ahem"><span id="control_ahem">7 1 41 52 42 63</span></div> 43 </body> 44 </html>