Re: [csswg-drafts] [css-anchor-position] `anchor-size()` should fallback to `auto`, not zero (#10005)

> What is the computed value of `width:calc(anchor-size(--bad-ref width) + 20px)`? Keeping in mind that `anchor-size()` now resolves at computed-value time.

Tab explained it to me offline. The computed value will be a "simplified form" of the specified value, and the used value will be `auto`. I.e., the effect on layout will be the same as if the author had used `width:auto` instead.

-- 
GitHub Notification of comment by chrishtr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10005#issuecomment-2045903590 using your GitHub account


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

Received on Tuesday, 9 April 2024 19:18:55 UTC