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-rl - table rows progression and colspa
n</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 colspanned cells in a table are handled a
ccording to a top-to-bottom inline flow direction." 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-rl; | |
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 <!-- The right-most "S" --> | |
49 <tr><td>A B C DDD</td><td>EE F G H</td><td>JJ K
L M</td></tr> | |
50 | |
51 <!-- The left-most "S" --> | |
52 <tr><td colspan="2">N OO Q R S T UUUU</td><td>WW
X Y Z</td></tr> | |
53 | |
54 <!-- The "A" --> | |
55 <tr><td>aaa b c ddd</td><td colspan="2">eeff g h
jjjj</td></tr> | |
56 | |
57 <!-- The "P" --> | |
58 <tr><td class="left-most-cell">mmm n o qqq</td><td class="left-mos
t-cell">r s t uu</td><td class="left-most-cell"> vv</td></tr
> | |
59 | |
60 </table> | |
61 | |
62 </body> | |
63 </html> | |
OLD | NEW |