box-shadow-004.htm (879B)
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: Negative value for blur radius</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-box-shadow" /> 7 <meta name="assert" content="Negative values for the blur radius of the 'box-shadow' are not allowed." /> 8 <style type="text/css"> 9 div 10 { 11 width: 1in; 12 height: 1in; 13 border: thin solid black; 14 box-shadow: red 0 10px -10px; 15 } 16 </style> 17 </head> 18 <body> 19 <p>Test passes if there is no red visible on the page.</p> 20 <div></div> 21 </body> 22 </html>