forked from w3c/csswg-drafts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix intermediate color in color-mix(red yellow 65%) example.
The main bug was reported both in a comment in the spec and in w3ctag/design-reviews#526 (comment) This also fixes dropping of a "9" digit in the red's chroma midway through the calculations. Note that the correct intermediate is well out of sRGB. I just chose to use it anyway and add a note about such cases.
- Loading branch information
Showing
2 changed files
with
10 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.