| 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: 'text-align: left' - 'vertical-lr' and initial,
default 'direction'</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/#vertical-layo
ut" title="7.1 Principles of Layout in Vertical Writing Modes" /> |
| 11 <link rel="match" href="../css21/reference/ref-filled-green-100px-square.xht"
/> |
| 12 |
| 13 <meta content="ahem image" name="flags" /> |
| 14 |
| 15 <style type="text/css"><![CDATA[ |
| 16 div |
| 17 { |
| 18 color: green; |
| 19 font: 6.25em/1 Ahem; /* computes to 100px/100px */ |
| 20 height: 300px; |
| 21 width: 200px; |
| 22 } |
| 23 |
| 24 div |
| 25 { |
| 26 background: red url("support/left-top-200x300.png"); |
| 27 text-align: left; |
| 28 -webkit-writing-mode: vertical-lr; |
| 29 } |
| 30 ]]></style> |
| 31 </head> |
| 32 |
| 33 <body> |
| 34 |
| 35 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 36 |
| 37 <div>T</div> |
| 38 |
| 39 </body> |
| 40 </html> |
| OLD | NEW |