sizing-orthog-htb-in-vrl-008-ref.xht (1573B)
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-30T09: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 font-family: monospace; 20 line-height: 1.25; /* therefore, each line box is 20px tall */ 21 margin: 8px 0px; 22 } 23 24 table 25 { 26 border-spacing: 0px; 27 left: calc(100% - 136px - 3px - 50ch - 3px - 136px); 28 /* or more elegantly right: 0px; Chrome 57+ has a bug here */ 29 padding: 0px 84px; 30 position: absolute; 31 width: calc(136px + 3px + 50ch + 3px + 136px); 32 } 33 34 td 35 { 36 padding: 0px; 37 vertical-align: top; 38 } 39 40 td#after, td#before 41 { 42 width: 52px; 43 } 44 45 p#sentence-after, p#sentence-before 46 { 47 writing-mode: vertical-rl; 48 } 49 50 td#data 51 { 52 border: blue solid 3px; 53 display: block; 54 } 55 ]]></style> 56 </head> 57 58 <body> 59 60 <table> 61 62 <tr> 63 64 <td id="after"><p id="sentence-after">Sentence after.</p></td> 65 66 <td id="data">01020304050607080910111213141516171819202122232425</td> 67 68 <td id="before"><p id="sentence-before">Sentence before.</p></td> 69 70 </tr> 71 72 </table> 73 74 </body> 75 </html>