def tab_size(style, name, value):
    """Compute the ``tab-size`` property."""
    return value if isinstance(value, int) else length(style, name, value)
Compute the ``tab-size`` property.
weasyprint/css/computed_values.py