[Webkit-unassigned] [Bug 155288] Compositing layer is too large when inner element has a blur that is within bounds

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 9 23:18:56 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=155288

--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
For box-shadow we do this:
        // Blurring uses a Gaussian function whose std. deviation is m_radius/2, and which in theory
        // extends to infinity. In 8-bit contexts, however, rounding causes the effect to become
        // undetectable at around 1.4x the radius.
        const float radiusExtentMultiplier = 1.4;

but recall that box-shadow's "radius" is actually 2 * sigma, so I think this agrees with the 3 * 1.87997127 / 2 = 2.82 for SVG.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160310/1e4b39e0/attachment.html>


More information about the webkit-unassigned mailing list