Followup for bug 587106. Update test to the new syntax. a=bustage

This commit is contained in:
Boris Zbarsky 2010-10-06 22:40:41 -04:00
Родитель 9f82b47917
Коммит 5de059042e
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -4017,7 +4017,7 @@ var canvas = document.getElementById('c140');
var ctx = canvas.getContext('2d');
ctx.fillStyle = 'rgba(0,0,0,0)';
ok(ctx.fillStyle == 'rgba(0, 0, 0, 0.0)', "ctx.fillStyle == 'rgba(0, 0, 0, 0.0)'");
is(ctx.fillStyle, 'rgba(0, 0, 0, 0)', "ctx.fillStyle should be what we set it to");
}
@ -15904,7 +15904,7 @@ var ctx = canvas.getContext('2d');
ctx.shadowColor = 'lime';
ok(ctx.shadowColor === '#00ff00', "ctx.shadowColor === '#00ff00'");
ctx.shadowColor = 'RGBA(0,255, 0,0)';
ok(ctx.shadowColor === 'rgba(0, 255, 0, 0.0)', "ctx.shadowColor === 'rgba(0, 255, 0, 0.0)'");
is(ctx.shadowColor, 'rgba(0, 255, 0, 0)', "ctx.shadowColor should be what we set it to");
}