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