sizing-orthog-htb-in-vrl-020-ref.xht (1544B)
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% - 52px - 3px - 50ch - 3px - 52px); 28 /* or more elegantly right: 0px; Chrome 57+ has a bug here */ 29 position: absolute; 30 width: calc(52px + 3px + 50ch + 3px + 52px); 31 } 32 33 td 34 { 35 padding: 0px; 36 vertical-align: top; 37 } 38 39 td#after, td#before 40 { 41 width: 52px; 42 } 43 44 p#sentence-after, p#sentence-before 45 { 46 writing-mode: vertical-rl; 47 } 48 49 td#data 50 { 51 border: blue solid 3px; 52 display: block; 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">01020304050607080910111213141516171819202122232425</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>