c61-ex-len-000-ref.xht (1310B)
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 <style type="text/css"><![CDATA[ 12 div 13 { 14 margin: 22px auto auto 86px; 15 16 /* 17 18 16px : table's margin-top 19 + 20 2px : table's default vertical border-spacing 21 + 22 4px : table cell's padding-top 23 ======== 24 22px 25 26 27 80px : table's margin-left 28 + 29 2px : table's default horizontal border-spacing 30 + 31 4px : table cell's padding-left 32 ======== 33 86px 34 35 */ 36 } 37 38 img {vertical-align: top;} 39 40 img + img {padding-left: 10px;} 41 42 /* 43 44 4px : first table-cell's padding-right 45 + 46 2px : table's default horizontal border-spacing 47 + 48 4px : second table cell's padding-left 49 ======= 50 10px 51 52 */ 53 ]]> 54 </style> 55 56 </head> 57 58 <body> 59 60 <p>Test passes if the 2 small rectangles have the <strong>same height</strong>.</p> 61 62 <div><img src="support/1x1-navy.png" width="40" height="32" alt="Image download support must be enabled" /><img src="support/1x1-navy.png" width="40" height="32" alt="Image download support must be enabled" /></div> 63 64 </body> 65 </html>