Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Unified Diff: third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html

Issue 1489003002: Drop Image::setContainerSize() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Back to ps#1 way, with fixed is_expensive test Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698