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

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

Issue 1498683003: Teach SVGImageForContainer::imageForCurrentFrame about the URL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drop-image-setcontainersize
Patch Set: 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-pattern-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-pattern-svg-fragment-expected.html
similarity index 65%
copy from third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html
copy to third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-pattern-svg-fragment-expected.html
index a92efd919984e9396054b80e32fcf0781b18f42f..05faf97deee7db05b75b4919c0ebe6511f921241 100644
--- a/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-image-svg-fragment-expected.html
+++ b/third_party/WebKit/LayoutTests/svg/canvas/canvas-draw-pattern-svg-fragment-expected.html
@@ -1,13 +1,13 @@
<!DOCTYPE html>
-<title>drawImage() with SVG fragments</title>
+<title>createPattern() with SVG fragments</title>
<script>
onload = function() {
var context = document.getElementsByTagName('canvas')[0].getContext('2d');
- fillStyles = [ "green", "red", "blue" ];
+ fillStyles = [ "green", "red", "blue", "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>
+<canvas width="480" height="480"></canvas>

Powered by Google App Engine
This is Rietveld 408576698