Index: LayoutTests/svg/canvas/canvas-draw-image-globalalpha.html |
diff --git a/LayoutTests/svg/canvas/canvas-draw-image-globalalpha.html b/LayoutTests/svg/canvas/canvas-draw-image-globalalpha.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b30f202388925d7bfb26744f58d8bbc26347f8ac |
--- /dev/null |
+++ b/LayoutTests/svg/canvas/canvas-draw-image-globalalpha.html |
@@ -0,0 +1,9 @@ |
+<!DOCTYPE html> |
+<canvas width=100 height=100></canvas> |
+<script> |
+var img = new Image(); |
+img.src = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="#008000"/></svg>'; |
+var c = document.querySelector('canvas').getContext('2d'); |
+c.globalAlpha = 0.2; |
+c.drawImage(img, 0, 0); |
+</script> |