[Webkit-unassigned] [Bug 19344] New: Regression: Shadow offsets seem to have changed in 10.5.3 in canvas
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat May 31 01:43:10 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=19344
Summary: Regression: Shadow offsets seem to have changed in
10.5.3 in canvas
Product: WebKit
Version: 525.x (Safari 3.1)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore JavaScript
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: tolmasky at gmail.com
Having a shadow offset of 1.0,1.0 doesn't seem to produce a shadow anymore (see
below). Adding 0.01 to the shadow offsets appears to provide consistent
results however.
<canvas width="100" height="100" id="c" style="background: lime"></canvas>
<script>
window.onload = function () {
var ctx = document.getElementById('c').getContext('2d');
// ctx.globalCompositeOperation = 'xor';
ctx.shadowColor = 'black';
ctx.shadowBlur = 1.0;
ctx.shadowOffsetX = 1.0;
ctx.shadowOffsetY = 1.0;
ctx.fillStyle = '#f00';
ctx.fillRect(10, 10, 20, 20);
}
</script>
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list