mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Followup for bug 587106. Update test to the new syntax. a=bustage
This commit is contained in:
parent
a7d2e54c98
commit
7b56db1ca0
@ -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");
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user