float-contiguous-vlr-011.xht (1593B)
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 left-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="../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-lr'." name="assert" /> 15 16 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 17 <style type="text/css"><![CDATA[ 18 div#reference-overlapped-red 19 { 20 background-color: red; 21 height: 100px; 22 position: absolute; 23 width: 100px; 24 z-index: -1; 25 } 26 27 div.floated-left 28 { 29 color: green; 30 float: left; 31 font: 20px/1 Ahem; /* computes to 20px/20px */ 32 writing-mode: vertical-lr; 33 } 34 ]]></style> 35 </head> 36 37 <body> 38 39 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 40 41 <div id="reference-overlapped-red"></div> 42 43 <div class="floated-left">abcde</div> 44 45 <div class="floated-left">fghjk</div> 46 47 <div class="floated-left">lmnor</div> 48 49 <div class="floated-left">rstuv</div> 50 51 <div class="floated-left">wxyzz</div> 52 53 </body> 54 </html>