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-end' and vertical-rl</titl
e> | 7 <title>CSS Writing Modes Test: 'caption-side: block-end' and vertical-rl</titl
e> |
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-end'
in a vertical-rl table, then the caption is placed at the block-end 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-end'
in a vertical-rl table, then the caption is placed at the block-end 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 div#reference-overlapped-red | 17 div#reference-overlapped-red |
18 { | 18 { |
19 background: url("support/pattern-rg-rg-100x100.png") no-repeat; | 19 background: url("support/pattern-rg-rg-100x100.png") no-repeat; |
20 height: 100px; | 20 height: 100px; |
21 position: absolute; | 21 position: absolute; |
22 width: 100px; | 22 width: 100px; |
23 z-index: -1; | 23 z-index: -1; |
24 } | 24 } |
25 | 25 |
26 table#test-overlapping-green | 26 table#test-overlapping-green |
27 { | 27 { |
28 border-spacing: 0px; | 28 border-spacing: 0px; |
29 caption-side: block-end; | 29 caption-side: block-end; |
30 font: 3.125em/1 Ahem; /* computes to 50px/50px */ | 30 font: 50px/1 Ahem; /* computes to 50px/50px */ |
31 -webkit-writing-mode: vertical-rl; | 31 -webkit-writing-mode: vertical-rl; |
32 } | 32 } |
33 | 33 |
34 caption | 34 caption |
35 { | 35 { |
36 color: green; | 36 color: green; |
37 } | 37 } |
38 | 38 |
39 td | 39 td |
40 { | 40 { |
(...skipping 12 matching lines...) Expand all Loading... |
53 | 53 |
54 <table id="test-overlapping-green"> | 54 <table id="test-overlapping-green"> |
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 </body> | 61 </body> |
62 </html> | 62 </html> |
OLD | NEW |