Bug 91908 - [META] Add CSS blending to WebKit
Summary: [META] Add CSS blending to WebKit
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Enhancement
Assignee: Nobody
URL: https://dvcs.w3.org/hg/FXTF/rawfile/t...
Keywords: WebExposed
Depends on: 95614 108546 92553 94024 95227 95258 98315 98435 98451 110427 128270
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-20 15:44 PDT by Rik Cabanier
Modified: 2014-03-04 00:24 PST (History)
17 users (show)

See Also:


Attachments
Added defines for CSS compositing and blending. Added support for parsing of -webkit-blend-mode (36.27 KB, text/plain)
2012-07-26 16:51 PDT, Rik Cabanier
no flags Details
redo patch. Don't turn on the define just yet. (20.50 KB, text/plain)
2012-07-26 20:09 PDT, Rik Cabanier
no flags Details
fixed previous patch so it builds correctly. Define is not turned on (20.53 KB, text/plain)
2012-07-26 21:02 PDT, Rik Cabanier
no flags Details
patch for parsing. code is disabled for now (19.17 KB, patch)
2012-07-27 10:23 PDT, Rik Cabanier
simon.fraser: review-
simon.fraser: commit-queue-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.