As of September, we intend to turn CSS Filters on by default on all platforms. 
It has been developed behind the layout.css.filters.enabled preference.

== Summary ==
CSS Filters allow authors to apply graphical effects like blur, drop-shadow, 
grayscale, and others to DOM elements using a simple CSS syntax. For example, 
"filter: blur(3px);".

This feature was not previously discussed in an "intent to implement” thread. 
Some Mozilla and Adobe folks (Robert O'Callahan, Markus Stange, Bas Schouten, 
Dirk Schulze, and I) started working on it last summer at a hackathon at the 
Mozilla San Francisco office.

== Platform Coverage ==
CSS Filters work on all platforms. CSS Filters share the same rendering 
pipeline as SVG Filters. On Windows, filters use D2D. On other platforms, 
filters use software rendering. There are plans to accelerate filters on other 
platforms (https://bugzilla.mozilla.org/show_bug.cgi?id=869496).

== Test Coverage ==
Test coverage is good, with 82 new reftests written under the folders:
layout/reftests/svg/filters/css-filters
layout/reftests/svg/filters/css-filter-chains
layout/reftests/svg/filters/css-svg-filter-chains
layout/reftests/svg/filters/svg-filter-chains

The usual parsing and animation tests are in place as well, and the shared 
rendering pipeline is additionally covered by the 74 existing SVG filters tests 
in layout/reftests/svg/filters.

== Spec ==
Filter Effects Module Level 1 is a W3C working draft. Most of the new tests 
will be submitted to the W3C to support the standard.

== Interop ==
Safari, Chrome, and Opera currently ship an interoperable implementation of CSS 
Filters behind a -webkit prefix.

== Links ==
Bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=1057180
Meta bug: https://bugzilla.mozilla.org/show_bug.cgi?id=869828
Links to Standard: http://dev.w3.org/fxtf/filters/ (Editor’s draft), 
http://www.w3.org/TR/filter-effects-1/ (Working draft)

- Max
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to