@@ -48,15 +48,15 @@ export function test_setting_backgroundImage_property_from_CSS_is_applied_to_Sty
4848}
4949
5050export function test_setting_borderWidth_property_from_CSS_is_applied_to_Style ( ) {
51- test_property_from_CSS_is_applied_to_style ( "borderWidth" , "border-width" , { value : 5 , unit : "dip" } , "5" , true ) ;
51+ test_property_from_CSS_is_applied_to_style ( "borderWidth" , "border-width" , 5 , "5" , true ) ;
5252}
5353
5454export function test_setting_borderWidth_dip_property_from_CSS_is_applied_to_Style ( ) {
55- test_property_from_CSS_is_applied_to_style ( "borderWidth" , "border-width" , { value : 5 , unit : "dip" } , "5dip" , true ) ;
55+ test_property_from_CSS_is_applied_to_style ( "borderWidth" , "border-width" , 5 , "5dip" , true ) ;
5656}
5757
5858export function test_setting_borderWidth_multiple_values_property_from_CSS_is_applied_to_Style ( ) {
59- test_property_from_CSS_is_applied_to_style ( "borderWidth" , "border-width" , "1dip 2dip 3dip 4dip " , "1 2dip 3 4dip" ) ;
59+ test_property_from_CSS_is_applied_to_style ( "borderWidth" , "border-width" , "1 2 3 4 " , "1 2dip 3 4dip" ) ;
6060}
6161
6262export function test_setting_borderColor_property_from_CSS_is_applied_to_Style ( ) {
@@ -72,52 +72,51 @@ export function test_setting_borderColorRGBA_property_from_CSS_is_applied_to_Sty
7272}
7373
7474export function test_setting_borderRadius_property_from_CSS_is_applied_to_Style ( ) {
75- test_property_from_CSS_is_applied_to_style ( "borderRadius" , "border-radius" , { value : 20 , unit : "dip" } , "20" , true ) ;
75+ test_property_from_CSS_is_applied_to_style ( "borderRadius" , "border-radius" , 20 , "20" , true ) ;
7676}
7777
7878export function test_setting_borderRadius_dip_property_from_CSS_is_applied_to_Style ( ) {
79- test_property_from_CSS_is_applied_to_style ( "borderRadius" , "border-radius" , { value : 20 , unit : "dip" } , "20dip" , true ) ;
79+ test_property_from_CSS_is_applied_to_style ( "borderRadius" , "border-radius" , 20 , "20dip" , true ) ;
8080}
8181
8282export function test_setting_borderRadius_multiple_values_property_from_CSS_is_applied_to_Style ( ) {
83- test_property_from_CSS_is_applied_to_style ( "borderRadius" , "border-radius" , "1dip 2dip 3dip 4dip " , "1 2dip 3 4dip" ) ;
83+ test_property_from_CSS_is_applied_to_style ( "borderRadius" , "border-radius" , "1 2 3 4 " , "1 2dip 3 4dip" ) ;
8484}
8585
8686export function test_setting_textAlignment_property_from_CSS_is_applied_to_Style ( ) {
8787 test_property_from_CSS_is_applied_to_style ( "textAlignment" , "text-align" , "center" ) ;
8888}
8989
90- const testLength : PercentLength = { value : 200 , unit : "dip" } ;
9190export function test_setting_width_property_from_CSS_is_applied_to_Style ( ) {
92- test_property_from_CSS_is_applied_to_style ( "width" , "width" , testLength , "200" , true ) ;
91+ test_property_from_CSS_is_applied_to_style ( "width" , "width" , 200 , "200" , true ) ;
9392}
9493
9594export function test_setting_width_dip_property_from_CSS_is_applied_to_Style ( ) {
96- test_property_from_CSS_is_applied_to_style ( "width" , "width" , testLength , "200dip" , true ) ;
95+ test_property_from_CSS_is_applied_to_style ( "width" , "width" , 200 , "200dip" , true ) ;
9796}
9897
9998export function test_setting_height_property_from_CSS_is_applied_to_Style ( ) {
100- test_property_from_CSS_is_applied_to_style ( "height" , "height" , testLength , "200" , true ) ;
99+ test_property_from_CSS_is_applied_to_style ( "height" , "height" , 200 , "200" , true ) ;
101100}
102101
103102export function test_setting_height_dip_property_from_CSS_is_applied_to_Style ( ) {
104- test_property_from_CSS_is_applied_to_style ( "height" , "height" , testLength , "200dip" , true ) ;
103+ test_property_from_CSS_is_applied_to_style ( "height" , "height" , 200 , "200dip" , true ) ;
105104}
106105
107106export function test_setting_minWidth_property_from_CSS_is_applied_to_Style ( ) {
108- test_property_from_CSS_is_applied_to_style ( "minWidth" , "min-width" , testLength , "200" , true ) ;
107+ test_property_from_CSS_is_applied_to_style ( "minWidth" , "min-width" , 200 , "200" , true ) ;
109108}
110109
111110export function test_setting_minWidth_dip_property_from_CSS_is_applied_to_Style ( ) {
112- test_property_from_CSS_is_applied_to_style ( "minWidth" , "min-width" , testLength , "200dip" , true ) ;
111+ test_property_from_CSS_is_applied_to_style ( "minWidth" , "min-width" , 200 , "200dip" , true ) ;
113112}
114113
115114export function test_setting_minHeight_property_from_CSS_is_applied_to_Style ( ) {
116- test_property_from_CSS_is_applied_to_style ( "minHeight" , "min-height" , testLength , "200" , true ) ;
115+ test_property_from_CSS_is_applied_to_style ( "minHeight" , "min-height" , 200 , "200" , true ) ;
117116}
118117
119118export function test_setting_minHeight_dip_property_from_CSS_is_applied_to_Style ( ) {
120- test_property_from_CSS_is_applied_to_style ( "minHeight" , "min-height" , testLength , "200dip" , true ) ;
119+ test_property_from_CSS_is_applied_to_style ( "minHeight" , "min-height" , 200 , "200dip" , true ) ;
121120}
122121
123122export function test_setting_verticalAlignment_property_from_CSS_is_applied_to_Style ( ) {
@@ -137,31 +136,31 @@ export function test_setting_visibility_property_from_CSS_is_applied_to_Style()
137136}
138137
139138export function test_setting_margin_property_from_CSS_is_applied_to_Style ( ) {
140- test_property_from_CSS_is_applied_to_style ( "margin" , "margin" , { value : 10 , unit : "dip" } , "10" , true ) ;
139+ test_property_from_CSS_is_applied_to_style ( "margin" , "margin" , 10 , "10" , true ) ;
141140}
142141
143142export function test_setting_margin_dip_property_from_CSS_is_applied_to_Style ( ) {
144- test_property_from_CSS_is_applied_to_style ( "margin" , "margin" , { value : 10 , unit : "dip" } , "10dip" , true ) ;
143+ test_property_from_CSS_is_applied_to_style ( "margin" , "margin" , 10 , "10dip" , true ) ;
145144}
146145
147146export function test_setting_margin_percent_property_from_CSS_is_applied_to_Style ( ) {
148147 test_property_from_CSS_is_applied_to_style ( "margin" , "margin" , { value : 0.05 , unit : "%" } , "5%" , true ) ;
149148}
150149
151150export function test_setting_margin_multiple_values_property_from_CSS_is_applied_to_Style ( ) {
152- test_property_from_CSS_is_applied_to_style ( "margin" , "margin" , "1dip 2% 3dip 4dip " , "1 2% 3 4dip" ) ;
151+ test_property_from_CSS_is_applied_to_style ( "margin" , "margin" , "1 2% 3 4 " , "1 2% 3 4dip" ) ;
153152}
154153
155154export function test_setting_padding_property_from_CSS_is_applied_to_Style ( ) {
156- test_property_from_CSS_is_applied_to_style ( "padding" , "padding" , { value : 10 , unit : "dip" } , "10" , true ) ;
155+ test_property_from_CSS_is_applied_to_style ( "padding" , "padding" , 10 , "10" , true ) ;
157156}
158157
159158export function test_setting_padding_dip_property_from_CSS_is_applied_to_Style ( ) {
160- test_property_from_CSS_is_applied_to_style ( "padding" , "padding" , { value : 10 , unit : "dip" } , "10dip" , true ) ;
159+ test_property_from_CSS_is_applied_to_style ( "padding" , "padding" , 10 , "10dip" , true ) ;
161160}
162161
163162export function test_setting_padding_multiple_values_property_from_CSS_is_applied_to_Style ( ) {
164- test_property_from_CSS_is_applied_to_style ( "padding" , "padding" , "1dip 2dip 3dip 4dip " , "1 2dip 3 4dip" ) ;
163+ test_property_from_CSS_is_applied_to_style ( "padding" , "padding" , "1 2 3 4 " , "1 2dip 3 4dip" ) ;
165164}
166165
167166export function test_setting_opacity_property_from_CSS_is_applied_to_Style ( ) {
0 commit comments