This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22581 - Do shorthand filters apply on premultiplied colors?
Summary: Do shorthand filters apply on premultiplied colors?
Alias: None
Product: CSS
Classification: Unclassified
Component: Filter Effects (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Dean Jackson
QA Contact: public-css-bugzilla
Depends on:
Reported: 2013-07-04 16:53 UTC by Dirk Schulze
Modified: 2013-12-06 14:00 UTC (History)
3 users (show)

See Also:


Description Dirk Schulze 2013-07-04 16:53:22 UTC
Some SVG Filters are applied on premulitplied colors, other on non-premulitplied colors. We do need to clarify if that behavior is preserved with the shorthands.
Comment 1 Dirk Schulze 2013-07-04 20:21:59 UTC
feColorMatrix and feComponentTransfer (used by sepia, grayscale, saturate, hue-rotate, invert, opacity, brightness and contrast) operate on non-premultiplied colors.

feGaussianBlur and feComposite (used by blur and drop-shadow) operate on premultiplied colors. Custom filters as well.

Not necessarily a problem if the UAs do the right thing.
Comment 2 Dirk Schulze 2013-12-06 14:00:53 UTC
Required as specified. Closing.