Skip to content

[css-contain-3] CSS-wide keywords in style() #7080

Closed
@andruud

Description

@andruud

The spec currently says that queried values must be computed in the context of the container, so I assume things like style(left: 1em) and style(left: var(--x)) should work. But the spec does not say anything about CSS-wide keywords, and I think they should be explicitly disallowed.

In particular, satisfying revert and revert-layer would require cascading-information that is long gone by the time we reach the descendant affected by the query.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions