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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/color-space/display_linear-rgb.html

Issue 2708403003: Implement canvas color space IDL format for 2D canvas (Closed)
Patch Set: Addressing GPU pixel test failures Created 3 years, 10 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: third_party/WebKit/LayoutTests/fast/canvas/color-space/display_linear-rgb.html
diff --git a/third_party/WebKit/LayoutTests/fast/canvas/color-space/display_linear-rgb.html b/third_party/WebKit/LayoutTests/fast/canvas/color-space/display_linear-rgb.html
index 6a91d690bc7d08bf4724f39458aef93bd560a4b5..16e2cd1adc294f4c0e662bb90d4d2ac3a9e9e0a6 100644
--- a/third_party/WebKit/LayoutTests/fast/canvas/color-space/display_linear-rgb.html
+++ b/third_party/WebKit/LayoutTests/fast/canvas/color-space/display_linear-rgb.html
@@ -4,7 +4,7 @@
<script>
function main()
{
- var ctx = document.getElementById("c").getContext("2d", {colorSpace:'linear-rgb'});
+ var ctx = document.getElementById("c").getContext('2d', {colorSpace: 'srgb', pixelFormat: 'float16'})
ctx.fillStyle = 'red';
ctx.fillRect(20,20,50,50);
ctx.fillStyle = 'green';

Powered by Google App Engine
This is Rietveld 408576698