mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
style: Fix servo build.
This commit is contained in:
parent
64e70e28fc
commit
ac6f921588
4 changed files with 17 additions and 3 deletions
|
@ -18,7 +18,7 @@ use num_traits::Zero;
|
|||
use properties::{CSSWideKeyword, PropertyDeclaration};
|
||||
use properties::longhands;
|
||||
use properties::longhands::visibility::computed_value::T as Visibility;
|
||||
use properties::{LonghandId, ShorthandId};
|
||||
use properties::LonghandId;
|
||||
use servo_arc::Arc;
|
||||
use smallvec::SmallVec;
|
||||
use std::{cmp, ptr};
|
||||
|
@ -50,6 +50,7 @@ use void::{self, Void};
|
|||
#[allow(non_upper_case_globals)]
|
||||
impl From<nsCSSPropertyID> for TransitionProperty {
|
||||
fn from(property: nsCSSPropertyID) -> TransitionProperty {
|
||||
use properties::ShorthandId;
|
||||
match property {
|
||||
% for prop in data.longhands:
|
||||
${prop.nscsspropertyid()} => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue