docs: def _declarations_as_string(self, declarations):
          """
          Returns a list of declarations as a formatted CSS string
  
          :param declarations: The list of tinycss Declarations to format
          :type declarations: list of tinycss.css21.Declaration
          :returns: The CSS string for the declarations list
          :rtype: str
          """
          return ''.join('%s:%s%s;' % (
              d.name,
              d.value.as_css(),
              ' !' + d.priority if d.priority else '') for d in declarations)