box-shadow-outset-spread-without-border-radius

box-shadow

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
outset spread box-shadow should show shadow.

Source

 1 <!DOCTYPE html>
 2 <html><head>
 3     <title>CSS Backgrounds and Borders Test: box-shadow</title>
 4     <link href="mailto:joy.xczhang@gmail.com" rel="author" title="Zhang Xiaochong">
 5     <link href="http://www.w3.org/TR/css3-background/#the-box-shadow" rel="help">
 6     <link href="reference/box-shadow-outset-spread-without-border-radius.htm" rel="match">
 7     <meta content="outset spread box-shadow should show shadow." name="assert">
 8     <style type="text/css">
 9         .container {
10             position: relative;
11         }
12         .container div {
13             position: absolute;
14             height: 150px;
15             left: 0;
16             top: 0;
17             width: 150px;
18         }
19         .container .test {
20             box-shadow: red 10px 10px 0 5px;
21         }
22         .container .ref {
23             background-color: green;
24             height: 160px;
25             left: 5px;
26             top: 5px;
27             width: 160px;
28         }
29     </style>
30 </head>
31 <body>
32     <p>The test passes if there is a filled green square and no red.</p>
33     <div class="container">
34         <div class="test"></div>
35         <div class="ref"></div>
36     </div>
37 
38 
39 </body></html>