mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Implement Clone for AnimationValue by hand 🐉🐲
We use the same trick as in PropertyDeclaration::clone.
This commit is contained in:
parent
b95b6c66f3
commit
c92d0a8902
2 changed files with 59 additions and 3 deletions
|
@ -88,7 +88,7 @@ impl ToAnimatedZero for BorderCornerRadius {
|
|||
/// The computed value of the `border-image-repeat` property:
|
||||
///
|
||||
/// https://drafts.csswg.org/css-backgrounds/#the-border-image-repeat
|
||||
#[derive(Clone, Debug, MallocSizeOf, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, MallocSizeOf, PartialEq)]
|
||||
pub struct BorderImageRepeat(pub BorderImageRepeatKeyword, pub BorderImageRepeatKeyword);
|
||||
|
||||
impl BorderImageRepeat {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue