background-334-ref.xht (850B)
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: #CCC; /* medium gray-ish */ 15 border: black dotted 5px; 16 width: 150px; 17 } 18 19 img {vertical-align: top;} 20 /* otherwise, the image "sits" on the baseline inside line box. */ 21 ]]></style> 22 23 </head> 24 25 <body> 26 27 <p>Test passes if there is a filled green square with gray background, black dotted borders and <strong>no red</strong>.</p> 28 29 <div><img src="../support/50x50-green.png" height="150" alt="Image download support must be enabled" /></div> 30 31 </body> 32 </html>