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: 'text-align: right' - 'vertical-lr' and initial
, default 'direction'</title> | 7 <title>CSS Writing Modes Test: 'text-align: right' - 'vertical-lr' and initial
, default 'direction'</title> |
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/#vertical-layo
ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> | 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layo
ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> |
11 <link rel="match" href="text-align-vlr-019-ref.xht" /> | 11 <link rel="match" href="direction-vlr-003-ref.xht" /> |
12 | 12 |
13 <meta content="ahem image" name="flags" /> | 13 <meta content="ahem image" name="flags" /> |
14 <meta content="This test checks that 'text-align: right' aligns an inline box
within a line box with respect to such line box's logical right side (line-right
side)." name="assert" /> | 14 <meta content="This test checks that 'text-align: right' aligns an inline box
within a line box with respect to such line box's logical right side (line-right
side)." name="assert" /> |
15 | 15 |
16 <style type="text/css"><![CDATA[ | 16 <style type="text/css"><![CDATA[ |
17 div | 17 div |
18 { | 18 { |
19 color: green; | 19 color: green; |
20 font: 6.25em/1 Ahem; /* computes to 100px/100px */ | 20 font: 6.25em/1 Ahem; /* computes to 100px/100px */ |
21 height: 300px; | 21 height: 300px; |
(...skipping 10 matching lines...) Expand all Loading... |
32 </head> | 32 </head> |
33 | 33 |
34 <body> | 34 <body> |
35 | 35 |
36 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> | 36 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
37 | 37 |
38 <div>B</div> | 38 <div>B</div> |
39 | 39 |
40 </body> | 40 </body> |
41 </html> | 41 </html> |
OLD | NEW |