sizing-orthog-htb-in-vrl-015-ref.xht (1498B)
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 Reftest Reference</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 11 <meta name="DC.date.created" content="2016-12-22T09:54:03+11:00" scheme="W3CDTF" /> 12 <meta name="DC.date.modified" content="2017-01-03T09:54:03+11:00" scheme="W3CDTF" /> 13 14 15 <style type="text/css"><![CDATA[ 16 body 17 { 18 font-size: 16px; 19 line-height: 1.25; /* therefore, each line box is 20px tall */ 20 margin: 8px 0px; 21 } 22 23 table 24 { 25 border-spacing: 0px; 26 left: calc(100% - 52px - 3px - 15ch - 3px - 52px); 27 /* or more elegantly right: 0px; Chrome 57+ has a bug here */ 28 position: absolute; 29 width: calc(52px + 3px + 15ch + 3px + 52px); 30 } 31 32 td 33 { 34 padding: 0px; 35 vertical-align: top; 36 } 37 38 td#after, td#before 39 { 40 width: 52px; 41 } 42 43 p#sentence-after, p#sentence-before 44 { 45 writing-mode: vertical-rl; 46 } 47 48 td#data 49 { 50 border: blue solid 3px; 51 display: block; 52 width: 15ch; 53 } 54 ]]></style> 55 </head> 56 57 <body> 58 59 <table> 60 61 <tr> 62 63 <td id="after"><p id="sentence-after">Sentence after.</p></td> 64 65 <td id="data">123456789012345</td> 66 67 <td id="before"><p id="sentence-before">Sentence before.</p></td> 68 69 </tr> 70 71 </table> 72 73 </body> 74 </html>