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