block-flow-direction-004.xht (1798B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Writing Modes Test: 'writing-mode' - initial value is 'horizontal-tb'</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the writing-mode property" /> 11 <link rel="match" href="block-flow-direction-001-ref.xht" /> 12 13 <meta content="ahem" name="flags" /> 14 <meta content="This test checks that the default, initial value of writing-mode is 'horizontal-tb'." name="assert" /> 15 16 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 17 <style type="text/css"><![CDATA[ 18 body 19 { 20 color: yellow; 21 font: 20px/1 Ahem; 22 width: 21em; 23 } 24 25 div 26 { 27 background-color: blue; 28 border-left: blue solid 1em; 29 border-right: blue solid 1em; 30 } 31 32 div#top-border { border-top: blue solid 1em; } 33 34 div#bottom-border { border-bottom: blue solid 1em; } 35 ]]></style> 36 </head> 37 38 <body> 39 40 <!-- topmost line --><div id="top-border">AAAA BBBB CCCC DDDD</div> 41 42 <!-- 2nd topmost line --><div>E F G H J L </div> 43 44 <!-- 3rd topmost line --><div>M N Q R S T </div> 45 46 <!-- 4th topmost line --><div>UUUU VVVV WWWW XXXX</div> 47 48 <!-- 5th topmost line --><div>Z a b c d</div> 49 50 <!-- 6th topmost line --><div>e f g h j</div> 51 52 <!-- 7th topmost line --><div id="bottom-border">k m n qqqq rrrr</div> 53 54 </body> 55 </html>