Workaround for css-parser not serializing @supports rules correctly

This commit is contained in:
Kovid Goyal 2022-07-31 21:24:06 +05:30
parent 5de21eddab
commit 4654159899
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -77,6 +77,7 @@ def setup_css_parser_serialization(tab_width=2):
prefs.indent = tab_width * ' '
prefs.indentClosingBrace = False
prefs.omitLastSemicolon = False
prefs.formatUnknownAtRules = False # True breaks @supports rules
def actual_case_for_name(container, name):