Skip to content

[css-variables] Applicable namespace rules for variable expansion #1163

Description

@SimonSapin

This is pretty much the same issue as #757, so we may want a similar behavior.

/* a.css */
@namespace foo "http://www.w3.org/1999/xhtml";
:root { --a: foo }
/* b.css */
@namespace foo "http://www.w3.org/1999/xlink";
:root { --b: attr(var(--a)|href) }
/* c.css */
@namespace foo "";
a:before { content: var(--b) }

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