outline-width-012

Outline-width with a minimum minus one value in points

WeasyPrint

This browser

Flags
invalid
Assertion
The 'outline-width' property does not support a negative length value in points and is ignored.

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 with a minimum minus one value in points</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="invalid">
 9         <meta name="assert" content="The 'outline-width' property does not support a negative length value in points and is ignored.">
10         <style type="text/css">
11             #test
12             {
13                 margin: 1em 0 0 1em;
14                 outline: solid green;
15                 outline-width: 1em;
16                 outline-width: -1pt;
17                 width: 300px;
18             }
19             #reference
20             {
21                 border: solid green 1em;
22                 margin-top: 2em;
23                 width: 300px;
24             }
25         </style>
26     </head>
27     <body>
28         <p>Test passes if the two boxes look the same.</p>
29         <div id="test">Filler Text</div>
30         <div id="reference">Filler Text</div>
31     </body>
32 </html>