@register_computer('content')
def content(computer, name, values):
    if values in ('normal', 'none'):
        return values
    else:
        return [('STRING', computer.element.get(value, ''))
                if type_ == 'attr' else (type_, value)
                for type_, value in values]
Compute the ``content`` property.
dataset/ETHPy150Open Kozea/WeasyPrint/weasyprint/css/computed_values.py/content