sizing-orthog-htb-in-vrl-003-ref.xht (1527B)
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="2016-12-30T09: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% - 136px - 3px - 15ch - 3px - 136px); 27 /* or more elegantly right: 0px; Chrome 57+ has a bug here */ 28 padding: 0px 84px; 29 position: absolute; 30 width: calc(136px + 3px + 15ch + 3px + 136px); 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 width: 15ch; 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">123456789012345</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>