| OLD | NEW |
| (Empty) | |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
| 2 |
| 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 4 |
| 5 <head> |
| 6 |
| 7 <title>CSS Writing Modes Test: horizontal-tb - block flow direction of block-l
evel boxes</title> |
| 8 |
| 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> |
| 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode"
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 block-level boxes in a 'horizontal-tb' wr
iting mode are laid out one after the other, vertically, with the first beginnin
g at the top of a containing block; they are ordered from top to bottom meaning
that the 1st block box is the topmost one, then the 2nd block is juxtaposed at i
ts bottom, then the 3rd block is juxtaposed to the 2nd block at its bottom, etc.
.." name="assert" /> |
| 15 |
| 16 <style type="text/css"><![CDATA[ |
| 17 html { -webkit-writing-mode: horizontal-tb; } |
| 18 /* |
| 19 " |
| 20 The principal writing mode of the document is determined by the writing-mode |
| 21 and direction values specified on the root element. |
| 22 " |
| 23 */ |
| 24 |
| 25 body |
| 26 { |
| 27 color: yellow; |
| 28 font: 1.25em/1 Ahem; |
| 29 width: 21em; |
| 30 } |
| 31 |
| 32 div |
| 33 { |
| 34 background-color: blue; |
| 35 border-left: blue solid 1em; |
| 36 border-right: blue solid 1em; |
| 37 } |
| 38 |
| 39 div#top-border { border-top: blue solid 1em; } |
| 40 |
| 41 div#bottom-border { border-bottom: blue solid 1em; } |
| 42 ]]></style> |
| 43 </head> |
| 44 |
| 45 <body> |
| 46 |
| 47 <!-- topmost line --><div id="top-border">AAAA BBBB CCCC DDDD</div> |
| 48 |
| 49 <!-- 2nd topmost line --><div>E F G H J L 
; </div> |
| 50 |
| 51 <!-- 3rd topmost line --><div>M N Q R S T 
; </div> |
| 52 |
| 53 <!-- 4th topmost line --><div>UUUU VVVV WWWW XXXX</div> |
| 54 |
| 55 <!-- 5th topmost line --><div>Z a b  
; c d</div> |
| 56 |
| 57 <!-- 6th topmost line --><div>e f g  
; h j</div> |
| 58 |
| 59 <!-- 7th topmost line --><div id="bottom-border">k m
n qqqq rrrr</div> |
| 60 |
| 61 </body> |
| 62 </html> |
| OLD | NEW |