[csswg-drafts] Pull Request: [css-anchor-position-1][editorial] Clarify validity of anchor-*()

cdoublev has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-anchor-position-1][editorial] Clarify validity of anchor-*() ==
This PR updates the *Validity* sections for [`anchor()`](https://drafts.csswg.org/css-anchor-position-1/#anchor-valid) and [`anchor-size()`](https://drafts.csswg.org/css-anchor-position-1/#anchor-size-valid), which could [confusingly](https://github.com/w3c/csswg-drafts/issues/11232#issuecomment-2720184752) be interpreted as making these functions invalid *at computed value time* when used in properties other than those for which they are explicitly defined as valid.

These functions are defined as `New values` of these properties. It would not make sense to accept them in all properties (like CSS-wide keywords, arbitrary or whole value substitutions) just to make them invalid at computed value time rather than at parse time.

See https://github.com/w3c/csswg-drafts/pull/11931


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

Received on Thursday, 13 March 2025 12:51:50 UTC