Skip to content

Conversation

@jonathantneal
Copy link
Contributor

@jonathantneal jonathantneal commented Jan 17, 2018

Correct the blend() adjuster calculation so that a base color does not change when a specified color is 0% blended in.

This will consequently correct tint() and shade() adjusters, as they rely on the behavior of blend().

Resolves #2195

@svgeesus
Copy link
Contributor

@tabatkins is it worth accepting corrections to the adjusters, given we want to rethink them from scratch?

@jonathantneal
Copy link
Contributor Author

I believe it will be helpful to have the correct information in your existing reference.

I do hope it is worth it. As an idea, tinting a color 0%, or mixing 0% black with a color should not turn that color 100% black.

@tabatkins
Copy link
Member

Yeah, might as well fix it while it's here.

@tabatkins tabatkins merged commit 029759b into w3c:master Jan 18, 2018
@jonathantneal jonathantneal deleted the fix/css-color-4-color-mod-blend branch January 19, 2018 00:41
@svgeesus
Copy link
Contributor

Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants