Re: [csswg-drafts] [css-sizing] How to shrink to fit the width? (#191)

I just published an article that explores how anchor positioning can be used to partially solve these kinds of issues: https://kizu.dev/shrinkwrap-problem/

So, when anchor positioning eventually becomes available, it will help with some use cases. Not all of them — there is still room to explore how the proper native solution could look like. But my exploration of this did show that it is very far from being a trivial problem, and when involving more complicated code it is easy to end up with circularity issues (hence, why we don't have any good way of handling this yet).

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


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

Received on Thursday, 7 December 2023 18:16:52 UTC