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

Unified Diff: LayoutTests/fast/canvas/image-object-in-canvas.html

Issue 408813007: Remove non-standard API entry points in CanvasRenderingContext2D (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove some unnecessary mac/virtual/gpu baselines Created 6 years, 1 month 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: LayoutTests/fast/canvas/image-object-in-canvas.html
diff --git a/LayoutTests/fast/canvas/image-object-in-canvas.html b/LayoutTests/fast/canvas/image-object-in-canvas.html
index 0054078f781ada081ade65965dad988f31494020..3cf3296ccde9798892b036f6b7703105dbe461a4 100644
--- a/LayoutTests/fast/canvas/image-object-in-canvas.html
+++ b/LayoutTests/fast/canvas/image-object-in-canvas.html
@@ -19,7 +19,7 @@ function imageLoaded() {
c1.drawImage(i, 0, 0, i.width * 2, i.height * 2)
var c2 = getContext('canvas2');
- c2.drawImageFromRect(i, 0, 0, i.width, i.height, 0, 0, i.width, i.height, 'over')
+ c2.drawImage(i, 0, 0, i.width, i.height, 0, 0, i.width, i.height)
var c3 = getContext('canvas3');
var pattern = c3.createPattern(i, 'repeat');
@@ -56,7 +56,7 @@ function runTests() {
<body onload="runTests();" style="overflow:hidden;">
<p>This tests that the Image JavaScript object works as expected when used in a canvas. If the test is successful, the Apple logo should appear scaled, normal and finally tiled in a circle.</p>
<div><canvas id="canvas1" width="150" height="150"></canvas>Using drawImage.</div>
-<div><canvas id="canvas2" width="150" height="150"></canvas>Using drawImageFromRect.</div>
+<div><canvas id="canvas2" width="150" height="150"></canvas>Using drawImage with source rectangle.</div>
<div><canvas id="canvas3" width="150" height="150"></canvas>Using ImagePattern.</div>
<div><canvas id="canvas4" width="150" height="150"></canvas>Using ImagePattern and rotation.</div>

Powered by Google App Engine
This is Rietveld 408576698