outline-width-067.xht (1321B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 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="invalid" /> 9 <meta name="assert" content="The 'outline-width' property does not support a negative length value in 'em' units 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: -1em; 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>