diff --git a/weasyprint/css/__init__.py b/weasyprint/css/__init__.py index 0ad050ab9..4040b010c 100644 --- a/weasyprint/css/__init__.py +++ b/weasyprint/css/__init__.py @@ -595,6 +595,7 @@ def variables(self): class AnonymousStyle(Style): + """Computed style used for anonymous boxes.""" def __init__(self, parent_style): # border-*-style is none, so border-width computes to zero. # Other than that, properties that would need computing are @@ -628,6 +629,7 @@ def __missing__(self, key): class ComputedStyle(Style): + """Computed style used for non-anonymous boxes.""" def __init__(self, parent_style, cascaded, element, pseudo_type, root_style, base_url): self.specified = {}