Bug 718334 - Fix some tests to make them work with Skia. r=roc

This commit is contained in:
Matt Woodrow 2012-01-23 14:08:17 +13:00
parent 823e083495
commit db33b0ef0e
2 changed files with 3 additions and 3 deletions

View File

@ -13,8 +13,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=575946
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=575946">Mozilla Bug 575946</a>
<p id="display">
<canvas id=canvas width=1000 height=1000 hidden></canvas>
<canvas id=testcanvas hidden></canvas>
<canvas id=canvas width=1100 height=1100 hidden moz-opaque></canvas>
<canvas id=testcanvas hidden moz-opaque></canvas>
<input id="fileList" type="file"></input>
</p>
<div id="content" style="display: none">

View File

@ -31,7 +31,7 @@ function test()
var canvas1 = document.getElementById("canvas1");
var ctx1 = canvas1.getContext("2d");
ctx1.globalAlpha = 0.5;
ctx1.globalAlpha = 0.502;
ctx1.fillStyle = "#FF0000";
ctx1.fillRect(0, 0, 10, 10);