[csswg-drafts] [css-anchor] Should anchor() be validated at parse time when it is known invalid? (#10955)

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

== [css-anchor] Should anchor() be validated at parse time when it is known invalid? ==
There are some uses of anchor() that can be determined invalid() at parse time. For instance,

```css
left: 10px;
left: anchor(--x top);
```

Should `left` resolve to `10px` here, or the default value?

The spec is a little unclear on when this "valid anchor function" concept is evaluated and/or if it is something that gets evaluated at each stage. 

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


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

Received on Thursday, 26 September 2024 17:24:06 UTC