[Webkit-unassigned] [Bug 40793] [GTK] The size of the shadow image uses the standard deviation size instead of the blur radius
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 1 13:23:41 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40793
Alejandro G. Castro <alex at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #59026|0 |1
is obsolete| |
Attachment #60279| |review?
Flag| |
--- Comment #2 from Alejandro G. Castro <alex at igalia.com> 2010-07-01 13:23:41 PST ---
Created an attachment (id=60279)
--> (https://bugs.webkit.org/attachment.cgi?id=60279)
Proposed patch
This is a first final proposal, I checked the visual result of other browsers.
The kernelSize variable was renamed to radius and recalculated
considering the CSS3 specification
http://www.w3.org/TR/css3-background/#the-box-shadow, and the
visual result of other browsers. The HTML5 canvas shadow standard
deviation calculation that was used, was not appropiate for the
blur distance specified in the CSS3.
Added also the recomendations of SVG regarding the kernel size
calculation for the approximation of the gaussian
blur. http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list