Chromium Code Reviews| Index: LayoutTests/fast/canvas/canvas-filter-default-color.html |
| diff --git a/LayoutTests/fast/canvas/canvas-filter-default-color.html b/LayoutTests/fast/canvas/canvas-filter-default-color.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b67cfb6945416bf7160e6436434e46f7c44bd6fa |
| --- /dev/null |
| +++ b/LayoutTests/fast/canvas/canvas-filter-default-color.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)'; |
|
Stephen White
2015/06/25 18:30:26
Nit: 0 -> 0px
|
| +ctx.fillStyle = '#0f0'; |
| +ctx.fillRect(25, 25, 50, 40); |
| +</script> |