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

Re: `inset: anchor(--foo bottom, 10px)`, quickly tested: https://codepen.io/kizu/pen/VwomaVG?editors=1100

currently Chrome accepts it, and when applying them to the sides that do not accept the value, uses the fallback value provided to the `anchor()` function (10px in this case), which _might_ be a useful behavior.

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


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

Received on Wednesday, 9 October 2024 16:40:38 UTC