def overflow(keyword):
    """Validation for the ``overflow`` property."""
    return keyword in ('auto', 'visible', 'hidden', 'scroll')
Validation for the ``overflow`` property.
weasyprint/css/validation/properties.py