| Index: LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
|
| diff --git a/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js b/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
|
| index 2682a40c9dd31d61155ecee177f9421e39319904..09b5ddfdc103aef881a14f2844654b7d4713f585 100644
|
| --- a/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
|
| +++ b/LayoutTests/fast/canvas/script-tests/canvas-currentColor.js
|
| @@ -37,18 +37,6 @@ shouldBe("ctx.fillStyle = '#f00'; ctx.fillStyle", "'#ff0000'");
|
| shouldBe("ctx.fillStyle = 'currentColor'; ctx.fillStyle", "'#000000'");
|
| shouldBe("ctx.strokeStyle = '#f00'; ctx.strokeStyle", "'#ff0000'");
|
| shouldBe("ctx.strokeStyle = 'currentColor'; ctx.strokeStyle", "'#000000'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, '#f00'); ctx.shadowColor", "'#ff0000'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, 'currentColor'); ctx.shadowColor", "'#000000'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, '#f00', 0.0); ctx.shadowColor", "'rgba(255, 0, 0, 0)'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, 'currentColor', 0.0); ctx.shadowColor", "'rgba(0, 0, 0, 0)'");
|
| -shouldBe("ctx.setStrokeColor('#f00'); ctx.strokeStyle", "'#ff0000'");
|
| -shouldBe("ctx.setStrokeColor('currentColor'); ctx.strokeStyle", "'#000000'");
|
| -shouldBe("ctx.setStrokeColor('#f00', 0.0); ctx.strokeStyle", "'rgba(255, 0, 0, 0)'");
|
| -shouldBe("ctx.setStrokeColor('currentColor', 0.0); ctx.strokeStyle", "'rgba(0, 0, 0, 0)'");
|
| -shouldBe("ctx.setFillColor('#f00'); ctx.fillStyle", "'#ff0000'");
|
| -shouldBe("ctx.setFillColor('currentColor'); ctx.fillStyle", "'#000000'");
|
| -shouldBe("ctx.setFillColor('#f00', 0.0); ctx.fillStyle", "'rgba(255, 0, 0, 0)'");
|
| -shouldBe("ctx.setFillColor('currentColor', 0.0); ctx.fillStyle", "'rgba(0, 0, 0, 0)'");
|
| shouldBe("tryLinearGradientColor('#f00')", "'255,0,0,255'");
|
| shouldBe("tryLinearGradientColor('currentColor')", "'0,0,0,255'");
|
| shouldBe("tryRadialGradientColor('#f00')", "'255,0,0,255'");
|
| @@ -65,18 +53,6 @@ shouldBe("ctx.fillStyle = '#f00'; ctx.fillStyle", "'#ff0000'");
|
| shouldBe("ctx.fillStyle = 'currentColor'; ctx.fillStyle", "'#123456'");
|
| shouldBe("ctx.strokeStyle = '#f00'; ctx.strokeStyle", "'#ff0000'");
|
| shouldBe("ctx.strokeStyle = 'currentColor'; ctx.strokeStyle", "'#123456'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, '#f00'); ctx.shadowColor", "'#ff0000'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, 'currentColor'); ctx.shadowColor", "'#123456'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, '#f00', 0.0); ctx.shadowColor", "'rgba(255, 0, 0, 0)'");
|
| -shouldBe("ctx.setShadow(0, 0, 0, 'currentColor', 0.0); ctx.shadowColor", "'rgba(18, 52, 86, 0)'");
|
| -shouldBe("ctx.setStrokeColor('#f00'); ctx.strokeStyle", "'#ff0000'");
|
| -shouldBe("ctx.setStrokeColor('currentColor'); ctx.strokeStyle", "'#123456'");
|
| -shouldBe("ctx.setStrokeColor('#f00', 0.0); ctx.strokeStyle", "'rgba(255, 0, 0, 0)'");
|
| -shouldBe("ctx.setStrokeColor('currentColor', 0.0); ctx.strokeStyle", "'rgba(18, 52, 86, 0)'");
|
| -shouldBe("ctx.setFillColor('#f00'); ctx.fillStyle", "'#ff0000'");
|
| -shouldBe("ctx.setFillColor('currentColor'); ctx.fillStyle", "'#123456'");
|
| -shouldBe("ctx.setFillColor('#f00', 0.0); ctx.fillStyle", "'rgba(255, 0, 0, 0)'");
|
| -shouldBe("ctx.setFillColor('currentColor', 0.0); ctx.fillStyle", "'rgba(18, 52, 86, 0)'");
|
| shouldBe("tryLinearGradientColor('#f00')", "'255,0,0,255'");
|
| shouldBe("tryLinearGradientColor('currentColor')", "'0,0,0,255'");
|
| shouldBe("tryRadialGradientColor('#f00')", "'255,0,0,255'");
|
|
|