@register_computer('float')
def compute_float(computer, name, value):
    if computer.specified.position in ('absolute', 'fixed'):
        return 'none'
    else:
        return value
Compute the ``float`` property.
dataset/ETHPy150Open Kozea/WeasyPrint/weasyprint/css/computed_values.py/compute_float