Skip to content

[css-values-5] Normalized attr() substitution value #10503

@andruud

Description

@andruud

What do you get if you serialize the computed value of --x here?

<div data-x="calc(1px + 2px)">
div { --x: attr(data-x length); }

I think we expect eager simplification (3px), and generally we may need something like the equivalent token sequence (but for non-computed values)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Regular agenda items

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions