mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement Animate for FontSettings
This commit is contained in:
parent
951662848f
commit
653bced7a5
2 changed files with 177 additions and 0 deletions
|
@ -219,6 +219,7 @@ pub struct FontSettingTagInt(pub u32);
|
|||
/// because it serializes with the preceding space
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
|
||||
#[cfg_attr(feature = "gecko", derive(Animate, ComputeSquaredDistance))]
|
||||
pub struct FontSettingTagFloat(pub f32);
|
||||
|
||||
impl ToCss for FontSettingTagInt {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue