| 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: contiguous left-floating boxes with 'writing-mo
de' set to 'vertical-rl'</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" name="flags" /> |
| 14 <meta content="This test checks the flow of contiguous left-floated boxes with
'writing-mode' set to 'vertical-rl'." name="assert" /> |
| 15 |
| 16 <style type="text/css"><![CDATA[ |
| 17 div#reference-overlapped-red |
| 18 { |
| 19 background-color: red; |
| 20 height: 100px; |
| 21 position: absolute; |
| 22 width: 100px; |
| 23 z-index: -1; |
| 24 } |
| 25 |
| 26 div.floated-left |
| 27 { |
| 28 color: green; |
| 29 float: left; |
| 30 font: 1.25em/1 Ahem; /* computes to 20px/20px */ |
| 31 -webkit-writing-mode: vertical-rl; |
| 32 } |
| 33 ]]></style> |
| 34 </head> |
| 35 |
| 36 <body> |
| 37 |
| 38 <p>Test passes if there is a filled green square and <strong>no red</strong>.<
/p> |
| 39 |
| 40 <div id="reference-overlapped-red"></div> |
| 41 |
| 42 <div class="floated-left">abcde</div> |
| 43 |
| 44 <div class="floated-left">fghjk</div> |
| 45 |
| 46 <div class="floated-left">lmnor</div> |
| 47 |
| 48 <div class="floated-left">rstuv</div> |
| 49 |
| 50 <div class="floated-left">wxyzz</div> |
| 51 |
| 52 </body> |
| 53 </html> |
| OLD | NEW |