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

Unified Diff: LayoutTests/fast/canvas/script-tests/canvas-blend-image.js

Issue 14679003: Add canvas blending modes behind a runtime flag (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: refreshed patch Created 7 years, 7 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-blend-image.js
diff --git a/LayoutTests/fast/canvas/script-tests/canvas-blend-image.js b/LayoutTests/fast/canvas/script-tests/canvas-blend-image.js
index 5cd0478c8b9f8e7d892e646f5fdc838c9ba48f28..e0698ce272bec2672a8b673259fe83334fdc675a 100644
--- a/LayoutTests/fast/canvas/script-tests/canvas-blend-image.js
+++ b/LayoutTests/fast/canvas/script-tests/canvas-blend-image.js
@@ -66,11 +66,10 @@ var blendModes =
[[85, 0, 170, 191],[85, 85, 170, 191],[0, 43, 170, 191],[0, 0, 255, 191]]
],
['color-burn',
- [[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255]],
- [[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255]],
- [[128, 0, 127, 255],[128, 128, 127, 255],[0, 0, 127, 255],[0, 0, 255, 255]],
- [[85, 0, 170, 191],[85, 85, 170, 191],[0, 0, 170, 191],[0, 0, 255, 191]]
-
+ [[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255]],
+ [[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255],[0, 0, 255, 255]],
+ [[128, 0, 127, 255],[128, 128, 127, 255],[0, 64, 127, 255],[0, 0, 255, 255]],
+ [[85, 0, 170, 191],[85, 85, 170, 191],[0, 42, 170, 191],[0, 0, 255, 191]]
],
['hard-light',
[[255, 0, 0, 255],[255, 255, 0, 255],[0, 1, 0, 255],[0, 0, 255, 255]],
@@ -173,4 +172,4 @@ function prepareTestScenario(sigma) {
}
// Run test and allow variation of results.
-prepareTestScenario(5);
+prepareTestScenario(5);

Powered by Google App Engine
This is Rietveld 408576698