Index: third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-svg-fragments-expected.html |
diff --git a/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-svg-fragments-expected.html b/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-svg-fragments-expected.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3903b0ca9323a6fc23fe781c09651009e7001828 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-svg-fragments-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="240px" height="240px"></canvas> |