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