@@ -28,7 +28,7 @@ def test_css_parse_normalisation(name, norm, abnorm):
28
28
assert_same_resolution (norm , abnorm )
29
29
30
30
31
- @pytest .mark .xfail
31
+ @pytest .mark .xfail ( reason = 'CSS comments not yet stripped' )
32
32
def test_css_parse_comments ():
33
33
assert_same_resolution ('hello: world' ,
34
34
'hello/* foo */:/* bar \n */ world /*;not:here*/' )
@@ -41,7 +41,8 @@ def test_css_parse_specificity():
41
41
pass # TODO
42
42
43
43
44
- @pytest .mark .xfail
44
+ @pytest .mark .xfail (reason = 'Splitting CSS declarations not yet sensitive to '
45
+ '; in CSS strings' )
45
46
def test_css_parse_strings ():
46
47
# semicolons in strings
47
48
assert_resolves ('background-image: url(\' http://blah.com/foo?a;b=c\' )' ,
@@ -91,7 +92,7 @@ def test_css_side_shorthands(shorthand, expansions):
91
92
{})
92
93
93
94
94
- @pytest .mark .xfail
95
+ @pytest .mark .xfail ( reason = 'CSS font shorthand not yet handled' )
95
96
@pytest .mark .parametrize ('css,props' , [
96
97
('font: italic bold 12pt helvetica,sans-serif' ,
97
98
{'font-family' : 'helvetica,sans-serif' ,
@@ -108,7 +109,7 @@ def test_css_font_shorthand(css, props):
108
109
assert_resolves (css , props )
109
110
110
111
111
- @pytest .mark .xfail
112
+ @pytest .mark .xfail ( reason = 'CSS background shorthand not yet handled' )
112
113
@pytest .mark .parametrize ('css,props' , [
113
114
('background: blue' , {'background-color' : 'blue' }),
114
115
('background: fixed blue' ,
@@ -118,7 +119,7 @@ def test_css_background_shorthand(css, props):
118
119
assert_resolves (css , props )
119
120
120
121
121
- @pytest .mark .xfail
122
+ @pytest .mark .xfail ( reason = 'CSS border shorthand not yet handled' )
122
123
@pytest .mark .parametrize ('style,equiv' , [
123
124
('border: 1px solid red' ,
124
125
'border-width: 1px; border-style: solid; border-color: red' ),
0 commit comments