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