white-space-007-ref.xht (1023B)
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 Test reference</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="author" title="James Hopkins" href="http://idreamincode.co.uk/css21testsuite" /> 11 <link rel="author" title="Justin Boss" href="http://www.bosspro.org/contactus/" /> 12 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net" /> 13 14 <style type="text/css"><![CDATA[ 15 div#test 16 { 17 background-color: orange; 18 height: 100px; 19 width: 500px; 20 } 21 22 div#control 23 { 24 background-color: blue; 25 height: 100px; 26 width: 500px; 27 } 28 ]]></style> 29 30 </head> 31 32 <body> 33 34 <p>Test passes if the wide orange and blue rectangles are the <strong>same width</strong> and the <strong>same height</strong>.</p> 35 36 <div id="test"> </div> 37 38 <div id="control"> </div> 39 40 </body> 41 </html>