Skip to content

[css-values] calc()'s divisions should support numeric expressions #1241

Closed
@nox

Description

@nox

https://drafts.csswg.org/css-values/#calc-syntax

The spec says calc() supports only numbers after /, thus excluding things like (1 + 1). Both Firefox and WebKit support the latter, so the spec should be changed.

Cc @dbaron @SimonSapin

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