def box_sizing(keyword):
    """Validation for the ``box-sizing`` property from css3-ui"""
    return keyword in ('padding-box', 'border-box', 'content-box')
Validation for the ``box-sizing`` property from css3-ui
weasyprint/css/validation/properties.py