float-contiguous-vlr-013.xht (1708B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/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-mode' set to 'vertical-lr'</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" 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 with 'writing-mode' set to 'vertical-lr'." name="assert" /> 15 16 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 17 <style type="text/css"><![CDATA[ 18 p 19 { 20 line-height: 1.25; 21 } 22 23 strong 24 { 25 line-height: 1; 26 } 27 28 div.floated-right 29 { 30 color: green; 31 float: right; 32 font: 20px/1 Ahem; /* computes to 20px/20px */ 33 writing-mode: vertical-lr; 34 } 35 36 div#reference-overlapped-red 37 { 38 background-color: red; 39 height: 100px; 40 position: absolute; 41 right: 8px; 42 top: 52px; 43 width: 100px; 44 z-index: -1; 45 } 46 ]]></style> 47 </head> 48 49 <body> 50 51 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 52 53 <div class="floated-right">abcde</div> 54 55 <div class="floated-right">fghjk</div> 56 57 <div class="floated-right">lmnor</div> 58 59 <div class="floated-right">rstuv</div> 60 61 <div class="floated-right">wxyzz</div> 62 63 <div id="reference-overlapped-red"></div> 64 65 </body> 66 </html>