@@ -75,7 +75,7 @@ def test_empty_property_value(prop):
75
75
76
76
@assert_no_logs
77
77
@pytest .mark .parametrize (('rule' , 'value' ), [
78
- ('1px, 3em , auto, auto' , ((1 , 'px' ), (3 , 'em' ), 'auto' , 'auto' )),
78
+ ('1px, 3EM , auto, auto' , ((1 , 'px' ), (3 , 'em' ), 'auto' , 'auto' )),
79
79
('1px,3em,auto,1px' , ((1 , 'px' ), (3 , 'em' ), 'auto' , (1 , 'px' ))),
80
80
])
81
81
def test_clip (rule , value ):
@@ -116,7 +116,7 @@ def test_counters_warning(rule, warning):
116
116
117
117
@assert_no_logs
118
118
@pytest .mark .parametrize ('rule' , [
119
- 'counter-reset: foo 3px ' ,
119
+ 'counter-reset: foo 3pX ' ,
120
120
'counter-reset: 3' ,
121
121
])
122
122
def test_counters_invalid (rule ):
@@ -250,7 +250,7 @@ def test_background_image_invalid(rule):
250
250
('right 10% bottom' , (('right' , (10 , '%' ), 'bottom' , (0 , '%' )),)),
251
251
252
252
# Four tokens
253
- ('left 10% bottom 3px ' , (('left' , (10 , '%' ), 'bottom' , (3 , 'px' )),)),
253
+ ('left 10% bottom 3PX ' , (('left' , (10 , '%' ), 'bottom' , (3 , 'px' )),)),
254
254
('bottom 3px left 10%' , (('left' , (10 , '%' ), 'bottom' , (3 , 'px' )),)),
255
255
('right 10% top 3px' , (('right' , (10 , '%' ), 'top' , (3 , 'px' )),)),
256
256
('top 3px right 10%' , (('right' , (10 , '%' ), 'top' , (3 , 'px' )),)),
@@ -298,7 +298,7 @@ def test_font_family_invalid(rule):
298
298
@pytest .mark .parametrize (('rule' , 'value' ), [
299
299
('1px' , (1 , 'px' )),
300
300
('1.1%' , (1.1 , '%' )),
301
- ('1em ' , (1 , 'em' )),
301
+ ('1Em ' , (1 , 'em' )),
302
302
('1' , (1 , None )),
303
303
('1.3' , (1.3 , None )),
304
304
('-0' , (0 , None )),
0 commit comments