From 7c1041b99c389c46395b96a495a87457874f4fae Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Thu, 22 Mar 2018 14:37:43 -0400 Subject: [PATCH] Bug 1447035 - follow-up - reftest comment clarification. r=me --- layout/reftests/canvas/1447035-1.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layout/reftests/canvas/1447035-1.html b/layout/reftests/canvas/1447035-1.html index 9040d55ea39a..1b1b24bca4c1 100644 --- a/layout/reftests/canvas/1447035-1.html +++ b/layout/reftests/canvas/1447035-1.html @@ -4,11 +4,11 @@ function fillCanvas(gradColor) { var c = document.getElementById(gradColor + 'Canvas'); var ctx = c.getContext("2d"); - // Create gradient + // Create solid-color gradient, with all stops same color var grd = ctx.createRadialGradient(75,50,5,90,60,100); grd.addColorStop(0,gradColor); grd.addColorStop(1,gradColor); - // Fill with gradient + // Fill with gradient, but effectively a solid fill ctx.fillStyle = grd; ctx.fillRect(0,0,200,100); }