diff options
author | kbr@google.com <kbr@google.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2010-12-28 23:16:19 +0000 |
---|---|---|
committer | kbr@google.com <kbr@google.com@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2010-12-28 23:16:19 +0000 |
commit | 2ea4e6c4152564027d31d565086c2933feeca4cb (patch) | |
tree | 068b06658bed288496d34476238dadc23d8f2fbc /third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js | |
parent | 1654fba0c7f81b70aaaa9bae13abaf642baae34c (diff) | |
download | chromium_src-2ea4e6c4152564027d31d565086c2933feeca4cb.zip chromium_src-2ea4e6c4152564027d31d565086c2933feeca4cb.tar.gz chromium_src-2ea4e6c4152564027d31d565086c2933feeca4cb.tar.bz2 |
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
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |