Index: third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html |
diff --git a/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html b/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a92efd919984e9396054b80e32fcf0781b18f42f |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<title>drawImage() with SVG fragments</title> |
+<script> |
+ onload = function() { |
+ var context = document.getElementsByTagName('canvas')[0].getContext('2d'); |
+ fillStyles = [ "green", "red", "blue" ]; |
+ fillStyles.forEach(function(fillStyle, i) { |
+ context.fillStyle = fillStyle; |
+ context.fillRect(i*60, i*60, 120, 120); |
+ }); |
+ } |
+</script> |
+<canvas width="240" height="240"></canvas> |