This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21199 - Add blend modes to Canvas' globalCompositeOperation
Summary: Add blend modes to Canvas' globalCompositeOperation
Status: NEW
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Jay Munro
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-05 18:53 UTC by rcabanie
Modified: 2013-03-05 18:57 UTC (History)
3 users (show)

See Also:


Attachments

Description rcabanie 2013-03-05 18:53:19 UTC

    
Comment 1 rcabanie 2013-03-05 18:57:16 UTC
The spec (http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/#compositing) currently defines the set of porter-duff compositing operators.

There is a new specificiation (https://dvcs.w3.org/hg/FXTF/rawfile/default/compositing/index.html#canvascompositingandblending) that extends this flag so you can also specify a blending operation.
The canvas spec should be updated with the new blend modes and a reference to the compositing spec. Alternately, the canvas spec could remove the description of globalCompositeOperation and just refer to the compositing for its definition.