border-width-comparison-001

Border-width - Relation of thin, medium, and thick

WeasyPrint

This browser

Assertion
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.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 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="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties">
 7         <meta name="flags" content="">
 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 wider from top to bottom.</p>
29         <div id="thin"></div>
30         <div id="medium"></div>
31         <div id="thick"></div>
32     </body>
33 </html>