8000 [css-color-5] Nested relative colors · Issue #7963 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-color-5] Nested relative colors #7963

@cdoublev

Description

@cdoublev

3. Relative Color Syntax does not define whether nested relative colors are allowed, eg. hsl(from rgb(from var(--brand-yellow) calc(r - 100) g b) h calc(s - 10%) l), and I do not see any example of this in the spec.

Is it fine to assume that this is allowed and that you will later define a maximum of 32 level of nestings, like for math functions?

#3462 addressed maximum parentheses (function and simple block) nestings but only resolved on defining a minimum for calculations.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0