6 background-color: gray;
7 border-radius: 40px 200px 10px 200px;
10 border: 5px solid red;
11 box-shadow: 0 0 8px 8px #888;
12 transform: translateZ(0);
17 <h3>It passes if:</h3>
19 <li>the canvas element has 8px gray shadow around</li>
20 <li>the canvas content has rounded corners</li>
22 <canvas id="theCanvas" width="257" height="257"></canvas>
24 if (window.internals) {
25 internals.settings.setAccelerated2dCanvasEnabled(false);
27 var context = theCanvas.getContext('2d');
28 context.fillStyle = 'green';
29 context.fillRect(0, 0, theCanvas.width, theCanvas.width);