From 2ea4e6c4152564027d31d565086c2933feeca4cb Mon Sep 17 00:00:00 2001 From: "kbr@google.com" <kbr@google.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> Date: Tue, 28 Dec 2010 23:16:19 +0000 Subject: 2010-12-28 Kenneth Russell <kbr@google.com> 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: svn://svn.chromium.org/blink/trunk@74729 bbb929c8-8fbe-4397-9dbb-9b2b20218538 --- .../WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js') diff --git a/third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js b/third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js index 2fb321b..73d8949 100644 --- a/third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js +++ b/third_party/WebKit/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(); -- cgit v1.1