style: Use custom_properties::Name in TransitionProperty.

Bug: 1419695
Reviewed-by: xidorn
MozReview-Commit-ID: BUSWrcA5hkw
This commit is contained in:
Emilio Cobos Álvarez 2018-06-04 15:36:24 +02:00
parent 90ef5607e4
commit ce5a85d6a1
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -6,6 +6,7 @@
use Atom; use Atom;
use cssparser::Parser; use cssparser::Parser;
use custom_properties::Name as CustomPropertyName;
use parser::{Parse, ParserContext}; use parser::{Parse, ParserContext};
use properties::{LonghandId, ShorthandId, PropertyId, PropertyFlags, PropertyDeclarationId}; use properties::{LonghandId, ShorthandId, PropertyId, PropertyFlags, PropertyDeclarationId};
use selectors::parser::SelectorParseErrorKind; use selectors::parser::SelectorParseErrorKind;
@ -724,7 +725,7 @@ pub enum TransitionProperty {
/// A longhand transitionable property. /// A longhand transitionable property.
Longhand(LonghandId), Longhand(LonghandId),
/// A custom property. /// A custom property.
Custom(Atom), Custom(CustomPropertyName),
/// Unrecognized property which could be any non-transitionable, custom property, or /// Unrecognized property which could be any non-transitionable, custom property, or
/// unknown property. /// unknown property.
Unsupported(CustomIdent), Unsupported(CustomIdent),