mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
style: Correct background/foreground ratio mixing.
Bug: 1467622 Reviewed-by: xidorn MozReview-Commit-ID: InAZVcH2Vkt
This commit is contained in:
parent
a76f5393d4
commit
96e812e732
2 changed files with 70 additions and 18 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
/// Ratios representing the contribution of color and currentcolor to
|
||||
/// the final color value.
|
||||
#[derive(Animate, Clone, Copy, Debug, MallocSizeOf, PartialEq, ToAnimatedValue)]
|
||||
#[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq, ToAnimatedValue)]
|
||||
pub struct ComplexColorRatios {
|
||||
/// Numeric color contribution.
|
||||
pub bg: f32,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue