mirror of
https://github.com/servo/servo.git
synced 2025-07-03 21:43:41 +01:00
style: Use custom_properties::Name in TransitionProperty.
Bug: 1419695 Reviewed-by: xidorn MozReview-Commit-ID: BUSWrcA5hkw
This commit is contained in:
parent
90ef5607e4
commit
ce5a85d6a1
1 changed files with 2 additions and 1 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue