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