[webkit-dev] Starting implementation on W3C Filter Effects

Dean Jackson dino at apple.com
Thu Sep 22 16:53:26 PDT 2011


Hey Dirk,

On 23/09/2011, at 6:24 AM, Dirk Schulze wrote:

> Dean, do you want to reuse the existing filter code, or do you plan to write another filter implementation just for CSS? Would be interesting if we would need to nest CSS_FILTERS and FILTERS, or if they could get enabled independent of each other.

I plan to use the existing filter code. It's nicely neutral of SVG. This would mean that CSS_FILTERS does require FILTERS, but I could also change the #ifs to use ||. 

BTW - the Filter Effects specification (ENABLE_CSS_FILTERS) does support "What was previously known as SVG Filters" (ENABLE_FILTERS), so there is a dependency.

When hardware acceleration comes we'll obviously begin diverging. As you mentioned elsewhere, buried in the depths of SVN is a Core Image-based version.

> Like previous comments mention, Apple still does not enable SVG Filters for Safari or Safari mobile. Once you reuse some code and enable CSS_ENABLE, it would force FILTERS to get enabled as well.

That's right. This new specification is mostly adding some new syntax and exposing filters to HTML/CSS.

Dean



More information about the webkit-dev mailing list