summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js
diff options
context:
space:
mode:
authormrobinson@webkit.org <mrobinson@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2010-12-28 00:17:25 +0000
committermrobinson@webkit.org <mrobinson@webkit.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538>2010-12-28 00:17:25 +0000
commitcd9b33bb143a8cc0eee6f4467615522eee1c2a27 (patch)
treea423a01cf4571ea49eed8eaf5a7b4e5ff1e1ec8c /third_party/WebKit/LayoutTests/fast/canvas/canvas-save-restore-with-path.js
parentd00ba4ae4293e9559ef88bb51e83a239bd3cd6d4 (diff)
downloadchromium_src-cd9b33bb143a8cc0eee6f4467615522eee1c2a27.zip
chromium_src-cd9b33bb143a8cc0eee6f4467615522eee1c2a27.tar.gz
chromium_src-cd9b33bb143a8cc0eee6f4467615522eee1c2a27.tar.bz2
2010-12-27 Martin Robinson <mrobinson@igalia.com>
Reviewed by Daniel Bates. [Cairo] fast/canvas/canvas-save-restore-with-path.html fails with some versions of Cairo https://bugs.webkit.org/show_bug.cgi?id=51655 Increase the precision of pi used in this test case. It appears that some Cairo versions or processors are sensitive to rounding errors here. * fast/canvas/canvas-save-restore-with-path.js: Increase pi precision. git-svn-id: svn://svn.chromium.org/blink/trunk@74699 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.js2
1 files changed, 1 insertions, 1 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 b1432b9..a238dfc 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
@@ -49,7 +49,7 @@ pixelShouldBe(75, 50, [255, 0, 0, 255]);
// Test rotate
context.beginPath();
context.save();
-context.rotate(90/180 * 3.1415);
+context.rotate(90/180 * 3.14159);
context.rect(50, -50, 50, 50);
context.restore();
context.fill();