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

Unified Diff: LayoutTests/fast/canvas/patternfill-repeat.html

Issue 187393007: Convert some pixel tests in fast/canvas into ref tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months 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/patternfill-repeat.html
diff --git a/LayoutTests/fast/canvas/patternfill-repeat.html b/LayoutTests/fast/canvas/patternfill-repeat.html
index b8a90213a4af56864d4465fdf7c5b6cb2f7bdda7..cdc1144cf00a9043033d0c78ff179147042d0af9 100644
--- a/LayoutTests/fast/canvas/patternfill-repeat.html
+++ b/LayoutTests/fast/canvas/patternfill-repeat.html
@@ -5,7 +5,6 @@
<style> canvas { border:solid #000 } </style>
<script>
if (window.testRunner) {
- testRunner.dumpAsTextWithPixelResults();
testRunner.waitUntilDone();
}
window.onload = function(){
@@ -19,25 +18,21 @@
p = ctx.createPattern(i, "repeat");
ctx.fillStyle = p;
ctx.translate(10, 10);
- ctx.strokeRect(0, 0, 150, 150);
ctx.fillRect(0, 0, 150, 150);
px = ctx.createPattern(i, "repeat-x");
ctx.fillStyle = px;
ctx.translate(0, 160);
- ctx.strokeRect(0, 0, 150, 150);
ctx.fillRect(0, 0, 150, 150);
pn = ctx.createPattern(i, "no-repeat");
ctx.fillStyle = pn;
ctx.translate(160, 0);
- ctx.strokeRect(0, 0, 150, 150);
ctx.fillRect(0, 0, 150, 150);
py = ctx.createPattern(i, "repeat-y");
ctx.fillStyle = py;
ctx.translate(0, -160);
- ctx.strokeRect(0, 0, 150, 150);
ctx.fillRect(0, 0, 150, 150);
if (window.testRunner)

Powered by Google App Engine
This is Rietveld 408576698