Skip to content

Regression since css-syntax-patches-for-csstree@1.0.18 #1738

@asamuzaK

Description

@asamuzaK

If relative color channels have calc() and that calc() contains a value with units, it was previously correctly considered invalid, but is now considered valid.

Examples:

  • rgb(from rebeccapurple calc(r + 1%) g b)
  • hsl(from rebeccapurple calc(h + 1deg) s l)

Tests:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions