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

andruud has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-contain-3] CSS-wide keywords in style() ==
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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7080 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 22 February 2022 22:08:01 UTC