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..2dbc7f9f9e5df155b84d774cbe6098eed7f178c4 |
--- /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(0px 50px black)'; |
+ctx.fillStyle = '#0f0'; |
+ctx.fillRect(125, 125, 250, 200); |
+</script> |