Re: [csswg-drafts] [css-anchor-position] `anchor()` Fallback type inconsistency vs WPT (#10831)

Apologies for the late response, but as far as I can tell there's no inconsistency here. `anchor()` and `anchor-size()` are both defined to resolve to a `<length>`, so they're perfectly valid as `<length-percentage>` fallback values.

There's some additional restrictions on validity for the anchor functions, so they can't be used everywhere, but `top: anchor(..., anchor(...))` is fine.

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


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

Received on Wednesday, 22 January 2025 17:04:14 UTC