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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-fillPath-shadow.js

Issue 16691002: Improve the LayoutTest related with Config conversions for Canvas2D (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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/script-tests/canvas-fillPath-shadow.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-fillPath-shadow.js b/LayoutTests/fast/canvas/script-tests/canvas-fillPath-shadow.js
index f28b9dbee3b129cbbd6d65c33a7088b97e3c90f8..39d6ada7dd0aa7df7f89c8772128645639dc58d7 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-fillPath-shadow.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-fillPath-shadow.js
@@ -73,7 +73,7 @@ shouldBe('data[2]', '0');
imageData = ctx.getImageData(380, 30, 1, 1);
data = imageData.data;
shouldBe('data[0]', '255');
-shouldBe('data[1]', '20');
+shouldBeCloseTo('data[1]', 20, 3);
shouldBe('data[2]', '0');
imageData = ctx.getImageData(400, 40, 1, 1);

Powered by Google App Engine
This is Rietveld 408576698