@@ -60,7 +60,7 @@ property_list! (PropertyValueWithGlobal, {
6060 0x2c ColumnGap : GapType as Initial default Gap :: Normal ;
6161
6262 // background
63- 0x30 BackgroundColor : ColorType as Initial default Color :: Undefined ;
63+ 0x30 BackgroundColor : ColorType as Initial default Color :: Specified ( 0 , 0 , 0 , 0 ) ;
6464 0x31 BackgroundImage : BackgroundImageType as Initial default BackgroundImage :: List ( Array :: empty( ) ) ;
6565 0x32 BackgroundSize : BackgroundSizeType as Initial default BackgroundSize :: List ( vec![ BackgroundSizeItem :: Auto ] . into( ) ) ;
6666 0x33 BackgroundPosition : BackgroundPositionType as Initial deprecated default BackgroundPosition :: List ( vec![ BackgroundPositionItem :: Pos ( BackgroundPositionValue :: Left ( Length :: Ratio ( 0. ) ) , BackgroundPositionValue :: Top ( Length :: Ratio ( 0. ) ) ) ] . into( ) ) ;
@@ -80,51 +80,51 @@ property_list! (PropertyValueWithGlobal, {
8080 0x3f MaskMode : MaskModeType as Initial default MaskMode :: List ( vec![ MaskModeItem :: MatchSource ] . into( ) ) ;
8181
8282 // basic sizing
83- 0x40 Width : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
84- 0x41 Height : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
85- 0x42 MinWidth : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
86- 0x43 MinHeight : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
83+ 0x40 Width : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
84+ 0x41 Height : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
85+ 0x42 MinWidth : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
86+ 0x43 MinHeight : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
8787 0x44 MaxWidth : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
8888 0x45 MaxHeight : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
89- 0x46 Left : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
90- 0x47 Right : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
91- 0x48 Top : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
92- 0x49 Bottom : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
89+ 0x46 Left : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
90+ 0x47 Right : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
91+ 0x48 Top : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
92+ 0x49 Bottom : LengthType as Initial default Length :: Auto , resolver = Length :: resolve_em;
9393
9494 // padding and margin
95- 0x50 PaddingLeft : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
96- 0x51 PaddingRight : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
97- 0x52 PaddingTop : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
98- 0x53 PaddingBottom : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
99- 0x54 MarginLeft : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
100- 0x55 MarginRight : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
101- 0x56 MarginTop : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
102- 0x57 MarginBottom : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
95+ 0x50 PaddingLeft : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
96+ 0x51 PaddingRight : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
97+ 0x52 PaddingTop : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
98+ 0x53 PaddingBottom : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
99+ 0x54 MarginLeft : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
100+ 0x55 MarginRight : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
101+ 0x56 MarginTop : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
102+ 0x57 MarginBottom : LengthType as Initial default Length :: Px ( 0. ) , resolver = Length :: resolve_em;
103103
104104 // other
105105 0x58 MaskPositionX : BackgroundPositionType as Initial default BackgroundPosition :: List ( vec![ BackgroundPositionItem :: Value ( BackgroundPositionValue :: Left ( Length :: Ratio ( 0. ) ) ) ] . into( ) ) ;
106106 0x59 MaskPositionY : BackgroundPositionType as Initial default BackgroundPosition :: List ( vec![ BackgroundPositionItem :: Value ( BackgroundPositionValue :: Top ( Length :: Ratio ( 0. ) ) ) ] . into( ) ) ;
107107
108108 // border
109- 0x60 BorderLeftWidth : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
109+ 0x60 BorderLeftWidth : LengthType as Initial default Length :: Px ( 3. ) , resolver = Length :: resolve_em;
110110 0x61 BorderLeftStyle : BorderStyleType as Initial default BorderStyle :: None ;
111111 0x62 BorderLeftColor : ColorType as Initial default Color :: CurrentColor ;
112- 0x63 BorderRightWidth : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
112+ 0x63 BorderRightWidth : LengthType as Initial default Length :: Px ( 3. ) , resolver = Length :: resolve_em;
113113 0x64 BorderRightStyle : BorderStyleType as Initial default BorderStyle :: None ;
114114 0x65 BorderRightColor : ColorType as Initial default Color :: CurrentColor ;
115- 0x66 BorderTopWidth : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
115+ 0x66 BorderTopWidth : LengthType as Initial default Length :: Px ( 3. ) , resolver = Length :: resolve_em;
116116 0x67 BorderTopStyle : BorderStyleType as Initial default BorderStyle :: None ;
117117 0x68 BorderTopColor : ColorType as Initial default Color :: CurrentColor ;
118- 0x69 BorderBottomWidth : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
118+ 0x69 BorderBottomWidth : LengthType as Initial default Length :: Px ( 3. ) , resolver = Length :: resolve_em;
119119 0x6a BorderBottomStyle : BorderStyleType as Initial default BorderStyle :: None ;
120120 0x6b BorderBottomColor : ColorType as Initial default Color :: CurrentColor ;
121121 0x6c BoxShadow : BoxShadowType as Initial default BoxShadow :: None ;
122122
123123 // border radius
124- 0x70 BorderTopLeftRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Undefined , Length :: Undefined ) ;
125- 0x71 BorderTopRightRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Undefined , Length :: Undefined ) ;
126- 0x72 BorderBottomRightRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Undefined , Length :: Undefined ) ;
127- 0x73 BorderBottomLeftRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Undefined , Length :: Undefined ) ;
124+ 0x70 BorderTopLeftRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Px ( 0. ) , Length :: Px ( 0. ) ) ;
125+ 0x71 BorderTopRightRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Px ( 0. ) , Length :: Px ( 0. ) ) ;
126+ 0x72 BorderBottomRightRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Px ( 0. ) , Length :: Px ( 0. ) ) ;
127+ 0x73 BorderBottomLeftRadius : BorderRadiusType as Initial default BorderRadius :: Pos ( Length :: Px ( 0. ) , Length :: Px ( 0. ) ) ;
128128
129129 // transition
130130 0x80 TransitionProperty : TransitionPropertyType as Initial default TransitionProperty :: List ( Array :: empty( ) ) ;
0 commit comments