outline-width-050

Outline-width - outline the box with a 5mm solid outline

WeasyPrint

This browser

Assertion
The 'outline-width' property supports a nominal length value in millimeters that sets the width of the outline.

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: Outline-width - outline the box with a 5mm solid outline</title>
 5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
 6         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#propdef-outline-width">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/ui.html#dynamic-outlines">
 8         <meta name="flags" content="">
 9         <meta name="assert" content="The 'outline-width' property supports a nominal length value in millimeters that sets the width of the outline.">
10         <style type="text/css">
11             #reference
12             {
13                 border: solid green 5mm;
14                 margin-top: 10mm;
15                 width: 300px;
16             }
17             #test
18             {
19                 margin: 5mm 0 0 5mm;
20                 outline: solid green;
21                 outline-width: 5mm;
22                 width: 300px;
23             }
24         </style>
25     </head>
26     <body>
27         <p>Test passes if the boxes below are the same size.</p>
28         <div id="test">Filler Text</div>
29         <div id="reference">Filler Text</div>
30     </body>
31 </html>