From e119a27c7242ed545b02845b696be6ef9bf72005 Mon Sep 17 00:00:00 2001 From: "kbr@google.com" Date: Tue, 28 Dec 2010 23:16:19 +0000 Subject: [PATCH] 2010-12-28 Kenneth Russell Reviewed by Eric Seidel. Make fast/canvas/canvas-save-restore-with-path.js more robust https://bugs.webkit.org/show_bug.cgi?id=51665 * fast/canvas/canvas-save-restore-with-path-expected.txt: * fast/canvas/canvas-save-restore-with-path.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74729 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- LayoutTests/ChangeLog | 10 ++++++++++ .../fast/canvas/canvas-save-restore-with-path-expected.txt | 4 ++-- LayoutTests/fast/canvas/canvas-save-restore-with-path.js | 4 ++-- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 4c47134..f189410 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,13 @@ +2010-12-28 Kenneth Russell + + Reviewed by Eric Seidel. + + Make fast/canvas/canvas-save-restore-with-path.js more robust + https://bugs.webkit.org/show_bug.cgi?id=51665 + + * fast/canvas/canvas-save-restore-with-path-expected.txt: + * fast/canvas/canvas-save-restore-with-path.js: + 2010-12-28 Helder Correia Reviewed by Eric Seidel. diff --git a/LayoutTests/fast/canvas/canvas-save-restore-with-path-expected.txt b/LayoutTests/fast/canvas/canvas-save-restore-with-path-expected.txt index deac254..c3c69a8 100644 --- a/LayoutTests/fast/canvas/canvas-save-restore-with-path-expected.txt +++ b/LayoutTests/fast/canvas/canvas-save-restore-with-path-expected.txt @@ -5,9 +5,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE PASS getPixel(25,25) is [0,128,0,255] PASS getPixel(75,25) is [0,128,0,255] -PASS getPixel(75,50) is [255,0,0,255] +PASS getPixel(75,75) is [255,0,0,255] PASS getPixel(25,75) is [0,128,0,255] -PASS getPixel(50,75) is [255,0,0,255] +PASS getPixel(75,75) is [255,0,0,255] PASS getPixel(75,75) is [0,128,0,255] PASS successfullyParsed is true diff --git a/LayoutTests/fast/canvas/canvas-save-restore-with-path.js b/LayoutTests/fast/canvas/canvas-save-restore-with-path.js index 2fb321b..73d8949 100644 --- a/LayoutTests/fast/canvas/canvas-save-restore-with-path.js +++ b/LayoutTests/fast/canvas/canvas-save-restore-with-path.js @@ -44,7 +44,7 @@ context.rect(25, 0,25,25); context.restore(); context.fill(); pixelShouldBe(75, 25, [0, 128, 0, 255]); -pixelShouldBe(75, 50, [255, 0, 0, 255]); +pixelShouldBe(75, 75, [255, 0, 0, 255]); // Test rotate context.beginPath(); @@ -54,7 +54,7 @@ context.rect(50, -50, 50, 50); context.restore(); context.fill(); pixelShouldBe(25, 75, [0, 128, 0, 255]); -pixelShouldBe(50, 75, [255, 0, 0, 255]); +pixelShouldBe(75, 75, [255, 0, 0, 255]); // Test transform context.beginPath(); -- 2.7.4