column-visibility-004-ref.xht (856B)
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 background-color: green; 15 height: 100px; 16 margin-left: 104px; 17 18 /* 19 20 2px : left border-spacing 21 + 22 100px : width of first cell 23 + 24 2px : border-spacing between first cell and second cell 25 ======== 26 104px 27 28 */ 29 30 margin-top: 18px; 31 /* max(p's margin-bottom, top border-spacing + p's margin-bottom) */ 32 width: 100px; 33 } 34 ]]></style> 35 36 </head> 37 38 <body> 39 40 <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> 41 42 <div></div> 43 44 </body> 45 </html>