OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
html1/DTD/xhtml1-strict.dtd"> |
2 | 2 |
3 <html xmlns="http://www.w3.org/1999/xhtml"> | 3 <html xmlns="http://www.w3.org/1999/xhtml"> |
4 | 4 |
5 <head> | 5 <head> |
6 | 6 |
7 <title>CSS Writing Modes Test: 'caption-side: block-start' and vertical-lr</ti
tle> | 7 <title>CSS Writing Modes Test: 'caption-side: block-start' and vertical-lr</ti
tle> |
8 | 8 |
9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserB
ugsSection/css21testsuite/" /> | 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/#caption-side"
title="7.7 Table Caption Mappings: the caption-side keywords" /> | 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#caption-side"
title="7.7 Table Caption Mappings: the caption-side keywords" /> |
11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht"
/> | 11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht"
/> |
12 | 12 |
13 <meta content="ahem image" name="flags" /> | 13 <meta content="ahem image" name="flags" /> |
14 <meta content="This test checks that when 'caption-side' is set to 'block-star
t' in a vertical-lr table, then the caption is placed at the block-start side of
the table, which is on the lefthand side of such table." name="assert" /> | 14 <meta content="This test checks that when 'caption-side' is set to 'block-star
t' in a vertical-lr table, then the caption is placed at the block-start side of
the table, which is on the lefthand side of such table." name="assert" /> |
15 | 15 |
16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
17 table#test-overlapping-green | 17 table#test-overlapping-green |
18 { | 18 { |
19 border-spacing: 0px; | 19 border-spacing: 0px; |
20 caption-side: bottom; /* very important declaration to do here */ | 20 caption-side: bottom; /* very important declaration to do here */ |
21 caption-side: block-start; | 21 caption-side: block-start; |
22 font: 3.125em/1 Ahem; /* computes to 50px/50px */ | 22 font: 50px/1 Ahem; /* computes to 50px/50px */ |
23 -webkit-writing-mode: vertical-lr; | 23 -webkit-writing-mode: vertical-lr; |
24 } | 24 } |
25 | 25 |
26 caption | 26 caption |
27 { | 27 { |
28 color: green; | 28 color: green; |
29 } | 29 } |
30 | 30 |
31 td | 31 td |
32 { | 32 { |
(...skipping 22 matching lines...) Expand all Loading... |
55 <caption>CA</caption> | 55 <caption>CA</caption> |
56 <tr> | 56 <tr> |
57 <td>T</td><td>D</td> | 57 <td>T</td><td>D</td> |
58 </tr> | 58 </tr> |
59 </table> | 59 </table> |
60 | 60 |
61 <div id="reference-overlapped-red"></div> | 61 <div id="reference-overlapped-red"></div> |
62 | 62 |
63 </body> | 63 </body> |
64 </html> | 64 </html> |
OLD | NEW |