box-shadow-004

Negative value for blur radius

WeasyPrint

This browser

Assertion
Negative values for the blur radius of the 'box-shadow' are not allowed.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html xmlns="http://www.w3.org/1999/xhtml"><head>
 3         <title>CSS Test: Negative value for blur radius</title>
 4         <link href="http://www.microsoft.com/" rel="author" title="Microsoft">
 5         <link href="http://www.w3.org/TR/css3-background/#the-box-shadow" rel="help">
 6         <meta content="" name="flags">
 7         <meta content="Negative values for the blur radius of the 'box-shadow' are not allowed." name="assert">
 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     
22 </body></html>