def spacing(token):
    """Validation for ``letter-spacing`` and ``word-spacing``."""
    if get_keyword(token) == 'normal':
        return 'normal'
    length = get_length(token)
    if length:
        return length
Validation for ``letter-spacing`` and ``word-spacing``.
weasyprint/css/validation/properties.py