fix css reload

This commit is contained in:
Will McGugan
2022-04-29 10:20:32 +01:00
parent ee82f28407
commit 233c2c4075
9 changed files with 87 additions and 70 deletions

View File

@@ -42,7 +42,7 @@ def test_color_property_parsing(css_value, expectation, expected_color):
)
with expectation:
stylesheet.parse(css)
stylesheet.add_source(css)
if expected_color:
css_rule = stylesheet.rules[0]