[webkit-dev] Starting implementation on W3C Filter Effects
dino at apple.com
Thu Sep 22 11:30:50 PDT 2011
Dirk (known in these parts as krit) reminded me that I had not emailed webkit-dev about the plans to start an implementation of W3C's new Filter Effects specification.
The quick summary is that this exposes the 'filter' property from SVG to everything in CSS, and adds some shorthands for common effects so people don't have to write XML in order to do something like a blur or sepia effect. The spec has received a fair amount of input from the CSS and SVG working groups, and particularly from Apple, Google, Mozilla, Opera and Adobe.
Here's the tracking bugzilla:
It will be protected by the existing ENABLE(FILTERS), unless someone has a good reason why this should be a new enabled feature name.
The implementation plan that I have in mind is:
- start with '-webkit-filter' only for HTML elements that supports something similar to the existing 'filter'
- implement more of the spec, including the shorthands
- expose '-webkit-filter' to SVG, but only if the existing 'filter' property is not set
- wait for the spec to progress, then drop the prefix
In parallel we'll also be looking at animation of these effects, plus hardware acceleration (open questions to how: OpenCL? Graphics3D? Core Image where available?)
More information about the webkit-dev