W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2010

[Bug 10169] The discontinuity at shadowBlur = 8 here is weird. We have no interop on exact shadow algorithms right now anyway, so maybe it could be fixed in the spec? Clearly authors aren't depending on pixel-perfect canvas shadows. Maybe it should just be the num

From: <bugzilla@jessica.w3.org>
Date: Wed, 14 Jul 2010 21:14:53 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OZ9I5-00005V-NH@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10169





--- Comment #2 from Aryeh Gregor <Simetrical+w3cbug@gmail.com>  2010-07-14 21:14:53 ---
Er, my canvas example was wrong.  This should display identically to the SVG I
gave:

data:text/html,<!doctype html>
<style>* { margin: 0 }</style>
<canvas height="300" width="300"></canvas>
<script>
window.addEventListener('load', function () {
context = document.getElementsByTagName("canvas")[0].getContext("2d");
context.shadowBlur = 12.5;
context.shadowOffsetX = 400;
context.shadowOffsetY = 400;
context.shadowColor = 'black';
context.fillRect(-300, -300, 100, 100);
}, false);
</script>

It does in Opera, but Chrome isn't quite right.  Either way, they all disagree
on the canvas rendering, no interop.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Wednesday, 14 July 2010 21:14:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:52 UTC