Skip to content

[css-fonts-4] When are relative units, calc(), var() and env() evaluated for values in @font-palette-values descriptors #14116

Description

@weinig

The spec for @font-palette-values states this about relative units, calc(), var() and env():

Math functions, such as calc(), and also var(), and env(), are valid within descriptor values in a @font-palette-values rule. They are evaluated within the context of the root element. Relative units are also evaluated within the context of the root element.

but, it doesn't state when that evaluation should take place.

The spec should make it clear when they values are evaluated and if changes to the root element should cause them to be re-evaluated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions