開始實作 W3C Filter Effects(Fwd: [webkit-dev] Starting implementation on W3C Filter Effects)

蘋果的 dino(前 W3C 員工,在當時搞 SVG,後來加入蘋果後成為 CSS 2D/3D變
換、過度、動畫的原作者與現任編輯)在 webkit-dev 發表說他們將會在 WebKit
上實作 IE 有很長一段時間的 'filter' 屬性。歡迎大家追蹤信裡面提到的那個
bug,也當然歡迎想翻譯該規範草案的朋友 :p(更也不排斥想翻譯前述 CSS 四個
規範的朋友)


Kenny

-------- Original Message --------
Subject: [webkit-dev] Starting implementation on W3C Filter Effects
Date: Fri, 23 Sep 2011 04:30:50 +1000
From: Dean Jackson <dino@apple.com>
To: webkit-dev@lists.webkit.org

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.

https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/publish/Filters.html

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:

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

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?)

Dean

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Received on Friday, 23 September 2011 01:57:54 UTC