float-rgt-orthog-vrl-in-htb-003.xht (1534B)
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: orthogonal floated right in horizontal-tb context</title> 8 9 <meta name="DC.date.created" content="2016-11-08T09:54:03+11:00" scheme="W3CDTF" /> 10 <meta name="DC.date.modified" content="2017-02-17T09:54:03+11:00" scheme="W3CDTF" /> 11 12 <!-- 13 Inspired by the test in 14 http://lists.w3.org/Archives/Public/www-style/2016Nov/0044.html 15 --> 16 17 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 18 <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#orthogonal-auto" /> 19 <link rel="match" href="float-rgt-orthog-vrl-in-htb-003-ref.xht" /> 20 21 <meta content="This test checks the vertical position of an orthogonal floated right block box inside an horizontal-tb parent. The orthogonal floated right block box must be put as high as possible inside the horizontal-tb line box." name="assert" /> 22 23 <style type="text/css"><![CDATA[ 24 div#horiz-parent 25 { 26 border: orange solid 8px; 27 font-size: 32px; 28 line-height: 1.25; /* computes to 40px */ 29 } 30 31 div#orthog-vrl-float-right 32 { 33 background-color: blue; 34 color: white; 35 float: right; 36 writing-mode: vertical-rl; 37 } 38 ]]></style> 39 40 </head> 41 42 <body> 43 44 <div id="horiz-parent">HTB parent 45 <div id="orthog-vrl-float-right">VRL floated right</div> 46 </div> 47 48 </body> 49 </html>