@@ -60,7 +60,7 @@ property_list! (PropertyValueWithGlobal, {
60
60
0x2c ColumnGap : GapType as Initial default Gap :: Normal ;
61
61
62
62
// background
63
- 0x30 BackgroundColor : ColorType as Initial default Color :: Undefined ;
63
+ 0x30 BackgroundColor : ColorType as Initial default Color :: Specified ( 0 , 0 , 0 , 0 ) ;
64
64
0x31 BackgroundImage : BackgroundImageType as Initial default BackgroundImage :: List ( Array :: empty( ) ) ;
65
65
0x32 BackgroundSize : BackgroundSizeType as Initial default BackgroundSize :: List ( vec![ BackgroundSizeItem :: Auto ] . into( ) ) ;
66
66
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, {
80
80
0x3f MaskMode : MaskModeType as Initial default MaskMode :: List ( vec![ MaskModeItem :: MatchSource ] . into( ) ) ;
81
81
82
82
// 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;
87
87
0x44 MaxWidth : LengthType as Initial default Length :: Undefined , resolver = Length :: resolve_em;
88
88
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;
93
93
94
94
// 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;
103
103
104
104
// other
105
105
0x58 MaskPositionX : BackgroundPositionType as Initial default BackgroundPosition :: List ( vec![ BackgroundPositionItem :: Value ( BackgroundPositionValue :: Left ( Length :: Ratio ( 0. ) ) ) ] . into( ) ) ;
106
106
0x59 MaskPositionY : BackgroundPositionType as Initial default BackgroundPosition :: List ( vec![ BackgroundPositionItem :: Value ( BackgroundPositionValue :: Top ( Length :: Ratio ( 0. ) ) ) ] . into( ) ) ;
107
107
108
108
// 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;
110
110
0x61 BorderLeftStyle : BorderStyleType as Initial default BorderStyle :: None ;
111
111
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;
113
113
0x64 BorderRightStyle : BorderStyleType as Initial default BorderStyle :: None ;
114
114
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;
116
116
0x67 BorderTopStyle : BorderStyleType as Initial default BorderStyle :: None ;
117
117
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;
119
119
0x6a BorderBottomStyle : BorderStyleType as Initial default BorderStyle :: None ;
120
120
0x6b BorderBottomColor : ColorType as Initial default Color :: CurrentColor ;
121
121
0x6c BoxShadow : BoxShadowType as Initial default BoxShadow :: None ;
122
122
123
123
// 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. ) ) ;
128
128
129
129
// transition
130
130
0x80 TransitionProperty : TransitionPropertyType as Initial default TransitionProperty :: List ( Array :: empty( ) ) ;
0 commit comments