box-shadow-outset-without-border-radius

box-shadow

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
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-without-border-radius.htm" rel="match">
 7     <meta content="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             width: 150px;
16         }
17         .container .test {
18             box-shadow: red 10px 10px;
19             left: 0;
20             top: 0;
21         }
22         .container .ref {
23             background-color: green;
24             left: 10px;
25             top: 10px;
26         }
27     </style>
28 </head>
29 <body>
30     <p>The test passes if there is a filled green square and no red.</p>
31     <div class="container">
32         <div class="test"></div>
33         <div class="ref"></div>
34     </div>
35 
36 
37 </body></html>