outline-width-069

Outline-width - outline the box with a 1em solid outline

WeasyPrint

This browser

Assertion
The 'outline-width' property supports a minimum plus one length value in 'em' units 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 1em 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 minimum plus one length value in 'em' units that sets the width of the outline.">
10         <style type="text/css">
11             #reference
12             {
13                 border: solid green 1em;
14                 margin-top: 2em;
15                 width: 300px;
16             }
17             #test
18             {
19                 margin: 1em 0 0 1em;
20                 outline: solid green;
21                 outline-width: 1em;
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>