-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add coverage for blend operations #1822
base: master
Are you sure you want to change the base?
Add coverage for blend operations #1822
Conversation
…tests into 2dcontext-coverage
…to 2dcontext-coverage
…latform-tests into 2dcontext-coverage Conflicts: 2dcontext/tools/tests2d.yaml
…latform-tests into 2dcontext-coverage Conflicts: 2dcontext/tools/tests2d.yaml
Critic review: https://critic.hoppipolla.co.uk/r/4980 This is an external review system which you may optionally use for the code review of your pull request. In order to help critic track your changes, please do not make in-place history rewrites (e.g. via |
These tests from @acomminos need review from @junov or other canvas SME. @Ms2ger? |
('copy', '1', '0'), | ||
('lighter', '1', '1'), | ||
# Composite operation tests | ||
# <http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-March/010608.html> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This reference is out of date. The current version of the whatwg spec references the CSS blending and Compositing spec for enumerating available modes.
There are trivial compositing modes in that spec that are missing here: destination and clear. Also, there are the plus-darker and plus-lighter modes
@KyleFung and I from Mozilla have been working on adding coverage for blend operations to Philip Taylor's compositing tests. Please let us know if there are any changes to be made!