I would like to add CSS blending to WebKit. We have a draft specification that we will push to WD soon. The first implementation will be done using the 'webkit-' prefix and implement a subset of the whole feature (only the blending of whole elements).
How will this work with compositing?
(In reply to comment #1) > How will this work with compositing? I was planning on adding compositing at a later stage. For now, blending will always be done with 'src-over'.
Created attachment 154790 [details] Added defines for CSS compositing and blending. Added support for parsing of -webkit-blend-mode
Created attachment 154821 [details] redo patch. Don't turn on the define just yet.
Created attachment 154827 [details] fixed previous patch so it builds correctly. Define is not turned on
Created attachment 154983 [details] patch for parsing. code is disabled for now
Comment on attachment 154983 [details] patch for parsing. code is disabled for now You should add CSS_COMPOSITING to all the build system first. See http://trac.webkit.org/changeset/123350 for an example.
Comment on attachment 154983 [details] patch for parsing. code is disabled for now You should also be adding CSS parsing tests at this stage.
<rdar://problem/96961806>