Merge branch 'css' into add-web-colors-management-and-prefix-ansi-ones

This commit is contained in:
Will McGugan
2022-04-29 10:47:40 +01:00
committed by GitHub
33 changed files with 504 additions and 256 deletions

View File

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