@@ -21,7 +21,7 @@ use box_shadow::*;
2121use border:: * ;
2222use border_image:: * ;
2323use border_radius:: * ;
24- use crate :: values:: { image:: * , length:: * , rect:: * , color:: * , time:: Time } ;
24+ use crate :: values:: { image:: * , length:: * , rect:: * , color:: * , time:: Time , ident :: CustomIdent } ;
2525use crate :: traits:: { Parse , ToCss } ;
2626use crate :: printer:: Printer ;
2727use std:: fmt:: Write ;
@@ -231,6 +231,7 @@ pub enum Property {
231231 LineHeight ( LineHeight ) ,
232232 Font ( Font ) ,
233233
234+ TransitionProperty ( Vec < CustomIdent > ) ,
234235 TransitionDuration ( Vec < Time > ) ,
235236 TransitionDelay ( Vec < Time > )
236237}
@@ -424,6 +425,7 @@ impl Property {
424425 "font-variant-caps" => property ! ( FontVariantCaps , FontVariantCaps ) ,
425426 "line-height" => property ! ( LineHeight , LineHeight ) ,
426427 "font" => property ! ( Font , Font ) ,
428+ "transition-property" => property ! ( TransitionProperty , CustomIdent , true ) ,
427429 "transition-duration" => property ! ( TransitionDuration , Time , true ) ,
428430 "transition-delay" => property ! ( TransitionDelay , Time , true ) ,
429431 _ => { }
@@ -625,6 +627,7 @@ impl Property {
625627 FontVariantCaps ( val) => property ! ( "font-variant-caps" , val) ,
626628 LineHeight ( val) => property ! ( "line-height" , val) ,
627629 Font ( val) => property ! ( "font" , val) ,
630+ TransitionProperty ( val) => property ! ( "transition-property" , val, true ) ,
628631 TransitionDuration ( val) => property ! ( "transition-duration" , val, true ) ,
629632 TransitionDelay ( val) => property ! ( "transition-delay" , val, true ) ,
630633 Custom ( custom) => {
0 commit comments