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: vertical-lr - table rows progression (thead, 2
tbodies, tfoot)</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 rows of a table element with in a 'vertic
al-lr' writing mode are laid out one after the other, rightwardedly, with the fi
rst beginning at the leftmost side of the table box; table rows are ordered from
left to right meaning that the 1st row is the leftmost one and then the 2nd row
is juxtaposed to its right-hand side, the 3rd row is juxtaposed to the 2nd row
on its right-hand side, etc..." name="assert" /> | |
15 | |
16 <style type="text/css"><![CDATA[ | |
17 body | |
18 { | |
19 color: yellow; | |
20 font: 20px/1 Ahem; | |
21 } | |
22 | |
23 table | |
24 { | |
25 background-color: blue; | |
26 border-spacing: 0em; | |
27 border: blue solid 1em; | |
28 height: 7em; | |
29 writing-mode: vertical-lr; | |
30 } | |
31 | |
32 td | |
33 { | |
34 padding-bottom: 0em; | |
35 padding-left: 1em; | |
36 padding-right: 0em; | |
37 padding-top: 0em; | |
38 } | |
39 | |
40 td.left-most-cell { padding-left: 0em; } | |
41 ]]></style> | |
42 </head> | |
43 | |
44 <body> | |
45 | |
46 <table> | |
47 | |
48 <thead> | |
49 | |
50 <!-- The "P" --> | |
51 <tr><td class="left-most-cell">AAA B C DDD</td><td class="left
-most-cell">EE F G H</td><td class="left-most-cell">JJ </td>
</tr> | |
52 | |
53 </thead> | |
54 | |
55 <tfoot> | |
56 | |
57 <!-- The right-most "S" --> | |
58 <tr><td>jjj k m n </td><td>q r s tt</td><td> u  
;v w xx</td></tr> | |
59 | |
60 </tfoot> | |
61 | |
62 <tbody> | |
63 | |
64 <!-- The "A" --> | |
65 <tr><td>KKK L M NNN</td><td>OO Q R SS</td><td>TT
UU</td></tr> | |
66 | |
67 </tbody> | |
68 | |
69 <tbody> | |
70 | |
71 <!-- The left-most "S" --> | |
72 <tr><td>VVV W X Y </td><td>a b c dd</td><td> e  
;f g hh</td></tr> | |
73 | |
74 </tbody> | |
75 | |
76 </table> | |
77 | |
78 </body> | |
79 </html> | |
OLD | NEW |