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

Unified Diff: LayoutTests/fast/canvas/font-update-expected.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/font-update-expected.html
diff --git a/LayoutTests/fast/canvas/font-update.html b/LayoutTests/fast/canvas/font-update-expected.html
similarity index 51%
copy from LayoutTests/fast/canvas/font-update.html
copy to LayoutTests/fast/canvas/font-update-expected.html
index 6b93a95103f19ac144629dc17534f0b14d41bc51..831ad8279af9d2d78cf4e87adfe71f7e7a5f081d 100644
--- a/LayoutTests/fast/canvas/font-update.html
+++ b/LayoutTests/fast/canvas/font-update-expected.html
@@ -12,16 +12,5 @@
ctx.fillStyle = "red";
ctx.fillText("B", 0, 100);
ctx.fillStyle = "green";
- canvas.parentNode.removeChild(canvas);
- if (window.testRunner) {
- testRunner.dumpAsTextWithPixelResults();
- testRunner.waitUntilDone();
- }
- setTimeout(function()
- {
- ctx.fillText("A", 0, 100);
- document.body.appendChild(canvas);
- if (window.testRunner)
- testRunner.notifyDone();
- }, 50);
+ ctx.fillText("A", 0, 100);
</script>

Powered by Google App Engine
This is Rietveld 408576698