border-width-comparison-001.xht (1377B)
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"> 3 <head> 4 <title>CSS Test: Border-width - Relation of thin, medium, and thick</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-06-26 --> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties" /> 8 <meta name="assert" content="A border-width set to thin is small than a border-width that is set to medium which is smaller than a border-width that is set to thick." /> 9 <style type="text/css"> 10 #thin 11 { 12 border-top: thin solid green; 13 height: 20px; 14 } 15 #medium 16 { 17 border-top: medium solid green; 18 height: 20px; 19 } 20 #thick 21 { 22 border-top: thick solid green; 23 height: 20px; 24 } 25 </style> 26 </head> 27 <body> 28 <p>Test passes if the three lines get thicker from top to bottom.</p> 29 <div id="thin"></div> 30 <div id="medium"></div> 31 <div id="thick"></div> 32 </body> 33 </html>