mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
script: Use Arc::make_unique
instead of Arc::get_mut
when updating
inline styles. Transitions make the reasoning in the comment in the relevant sections not true.
This commit is contained in:
parent
92cbb93684
commit
9bd8edea4a
2 changed files with 11 additions and 12 deletions
|
@ -5669,7 +5669,7 @@ impl<T: ToCss> DeclaredValue<T> {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(PartialEq)]
|
||||
#[derive(PartialEq, Clone)]
|
||||
pub enum PropertyDeclaration {
|
||||
% for property in LONGHANDS:
|
||||
${property.camel_case}(DeclaredValue<longhands::${property.ident}::SpecifiedValue>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue