@@ -129,7 +129,7 @@ use crate::prefixes::Feature;
129129use crate :: printer:: { Printer , PrinterOptions } ;
130130use crate :: targets:: Targets ;
131131use crate :: traits:: { Parse , ParseWithOptions , Shorthand , ToCss } ;
132- use crate :: values:: number:: { CSSIntegerWithInfinity , CSSNumber } ;
132+ use crate :: values:: number:: { CSSInteger , CSSNumber } ;
133133use crate :: values:: string:: CowArcStr ;
134134use crate :: values:: {
135135 alpha:: * , color:: * , easing:: EasingFunction , ident:: DashedIdentReference , ident:: NoneOrCustomIdentList , image:: * ,
@@ -1335,7 +1335,7 @@ define_properties! {
13351335 "flex-shrink" : FlexShrink ( CSSNumber , VendorPrefix ) / WebKit ,
13361336 "flex-basis" : FlexBasis ( LengthPercentageOrAuto , VendorPrefix ) / WebKit ,
13371337 "flex" : Flex ( Flex , VendorPrefix ) / WebKit / Ms shorthand: true ,
1338- "order" : Order ( CSSIntegerWithInfinity , VendorPrefix ) / WebKit ,
1338+ "order" : Order ( CSSInteger , VendorPrefix ) / WebKit ,
13391339
13401340 // Align properties: https://www.w3.org/TR/2020/WD-css-align-3-20200421
13411341 "align-content" : AlignContent ( AlignContent , VendorPrefix ) / WebKit ,
@@ -1354,16 +1354,16 @@ define_properties! {
13541354 // Old flex (2009): https://www.w3.org/TR/2009/WD-css3-flexbox-20090723/
13551355 "box-orient" : BoxOrient ( BoxOrient , VendorPrefix ) / WebKit / Moz unprefixed: false ,
13561356 "box-direction" : BoxDirection ( BoxDirection , VendorPrefix ) / WebKit / Moz unprefixed: false ,
1357- "box-ordinal-group" : BoxOrdinalGroup ( CSSIntegerWithInfinity , VendorPrefix ) / WebKit / Moz unprefixed: false ,
1357+ "box-ordinal-group" : BoxOrdinalGroup ( CSSInteger , VendorPrefix ) / WebKit / Moz unprefixed: false ,
13581358 "box-align" : BoxAlign ( BoxAlign , VendorPrefix ) / WebKit / Moz unprefixed: false ,
13591359 "box-flex" : BoxFlex ( CSSNumber , VendorPrefix ) / WebKit / Moz unprefixed: false ,
1360- "box-flex-group" : BoxFlexGroup ( CSSIntegerWithInfinity , VendorPrefix ) / WebKit unprefixed: false ,
1360+ "box-flex-group" : BoxFlexGroup ( CSSInteger , VendorPrefix ) / WebKit unprefixed: false ,
13611361 "box-pack" : BoxPack ( BoxPack , VendorPrefix ) / WebKit / Moz unprefixed: false ,
13621362 "box-lines" : BoxLines ( BoxLines , VendorPrefix ) / WebKit / Moz unprefixed: false ,
13631363
13641364 // Old flex (2012): https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/
13651365 "flex-pack" : FlexPack ( FlexPack , VendorPrefix ) / Ms unprefixed: false ,
1366- "flex-order" : FlexOrder ( CSSIntegerWithInfinity , VendorPrefix ) / Ms unprefixed: false ,
1366+ "flex-order" : FlexOrder ( CSSInteger , VendorPrefix ) / Ms unprefixed: false ,
13671367 "flex-align" : FlexAlign ( BoxAlign , VendorPrefix ) / Ms unprefixed: false ,
13681368 "flex-item-align" : FlexItemAlign ( FlexItemAlign , VendorPrefix ) / Ms unprefixed: false ,
13691369 "flex-line-pack" : FlexLinePack ( FlexLinePack , VendorPrefix ) / Ms unprefixed: false ,
0 commit comments