KEMBAR78
[css-transforms] Zero value in perspective() function · Issue #413 · w3c/csswg-drafts · GitHub
Skip to content

[css-transforms] Zero value in perspective() function #413

@upsuper

Description

@upsuper

Please see the discussion in the mailing list 1, 2, and also whatwg/compat#48.

In the current spec, zero is invalid for perspective() function and perspective property, which, according to Tab, violates CSS's rule of limited range. The spec should be changed to something like

specify that there's a UA-defined minimum perspective length, and anything below that length (but not negative) is clamped to it.

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