-
-
Notifications
You must be signed in to change notification settings - Fork 710
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix currentcolor detection when parsing gradient color stops
The bug has been introduced by CSS Color Level 4, that set the official "currentColor"’s serialization string to lowercase "currentcolor". Note that we still don’t draw the actual current color in this case (according to the TODO above the fixed line) but black. At least it doesn’t crash anymore. Fix #2320.
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
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
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