-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSS/colors: handle 'transparent' as a real color
Use (css_val_color, CSS_COLOR_TRANSPARENT) for 'transparent' instead of (css_val_unspecified, css_generic_transparent), which avoids special cases when handling its inheritance. This makes 'currentcolor' the only value with css_val_unspecified, and make fixing the following issues simpler: - when inheriting 'currentcolor', it must not be resolved to a color, but inherited as 'currentcolor'. - other parsed transparent colors like rgba(12,34,56,0) or #88888800 are now handled as 'transparent'.
- Loading branch information
Showing
8 changed files
with
184 additions
and
91 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
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
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
Oops, something went wrong.