def fallback(token):
    """``fallback`` descriptor validation."""
    ident = get_custom_ident(token)
    if ident != 'none':
        return ident
``fallback`` descriptor validation.
weasyprint/css/validation/descriptors.py