min-height-112.xht (974B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> 3 <head> 4 <title>CSS Test: Basic min-height test (with overflow:hidden)</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-10-30 --> 7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/block/height/min-height/002.html" type="text/html"/> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#min-max-heights" /> 9 <link rel="match" href="min-height-111-ref.xht" /> 10 11 <style type="text/css"> 12 div { padding-top: 1em; min-height: 15px; background: url(support/swatch-green.png) no-repeat 0 1em; overflow: hidden; } 13 </style> 14 </head> 15 <body> 16 <p>Test passes if there is a small green square.</p> 17 <div></div> 18 </body> 19 </html>