Chromium Code Reviews| Index: LayoutTests/fast/canvas/canvas-filter-drop-shadow.html |
| diff --git a/LayoutTests/fast/canvas/canvas-filter-drop-shadow.html b/LayoutTests/fast/canvas/canvas-filter-drop-shadow.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..71c5fc8bafcf704d48b39b7897f724583d1f54b4 |
| --- /dev/null |
| +++ b/LayoutTests/fast/canvas/canvas-filter-drop-shadow.html |
| @@ -0,0 +1,8 @@ |
| +<canvas id="canvas" width="100" height="100"></canvas> |
| +<script> |
| +var canvas = document.getElementById('canvas'); |
| +var ctx = canvas.getContext('2d'); |
| +ctx.filter = 'drop-shadow(0 10px black)'; |
|
Stephen White
2015/06/25 18:30:26
Nit: 0 -> 0px
|
| +ctx.fillStyle = '#0f0'; |
| +ctx.fillRect(25, 25, 50, 40); |
| +</script> |