Skip to content

[css-values-4] How to serialize infinite values? #3768

@tabatkins

Description

@tabatkins

In an expression like calc(1/0 * 1px), it resolves to ∞px. Per the simplification rules currently defined, this should serialize without the calc() wrapper. What should a value like that serialize as, tho?

I'm considering specifying that infinite values serialize as a 1/0 expression, even tho divisions are technically resolved away before serialization happens.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions