Bug 91908

Summary: [META] Add CSS blending to WebKit
Product: WebKit Reporter: Rik Cabanier <cabanier>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Enhancement CC: cgarcia, cmarcelo, dino, donggwan.kim, ericbidelman, eric, jaepark, krit, macpherson, menard, mihnea, mike, paulirish, peter, simon.fraser, syoichi, webkit.review.bot
Priority: P2 Keywords: WebExposed
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
URL: https://dvcs.w3.org/hg/FXTF/rawfile/tip/compositing/index.html
Bug Depends on: 95614, 108546, 92553, 94024, 95227, 95258, 98315, 98435, 98451, 110427, 128270    
Bug Blocks:    
Attachments:
Description Flags
Added defines for CSS compositing and blending. Added support for parsing of -webkit-blend-mode
none
redo patch. Don't turn on the define just yet.
none
fixed previous patch so it builds correctly. Define is not turned on
none
patch for parsing. code is disabled for now simon.fraser: review-, simon.fraser: commit-queue-

Description Rik Cabanier 2012-07-20 15:44:22 PDT
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).
Comment 1 Simon Fraser (smfr) 2012-07-20 16:00:55 PDT
How will this work with compositing?
Comment 2 Rik Cabanier 2012-07-20 16:03:55 PDT
(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'.
Comment 3 Rik Cabanier 2012-07-26 16:51:44 PDT
Created attachment 154790 [details]
Added defines for CSS compositing and blending. Added support for parsing of -webkit-blend-mode
Comment 4 Rik Cabanier 2012-07-26 20:09:06 PDT
Created attachment 154821 [details]
redo patch. Don't turn on the define just yet.
Comment 5 Rik Cabanier 2012-07-26 21:02:02 PDT
Created attachment 154827 [details]
fixed previous patch so it builds correctly. Define is not turned on
Comment 6 Rik Cabanier 2012-07-27 10:23:48 PDT
Created attachment 154983 [details]
patch for parsing. code is disabled for now
Comment 7 Simon Fraser (smfr) 2012-07-27 13:38:17 PDT
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 8 Simon Fraser (smfr) 2012-07-27 13:40:21 PDT
Comment on attachment 154983 [details]
patch for parsing. code is disabled for now

You should also be adding CSS parsing tests at this stage.