Skip to content

[css-anchor-positioning-1] implied auto try blocks are confusing #9362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
fantasai opened this issue Sep 15, 2023 · 1 comment
Closed

[css-anchor-positioning-1] implied auto try blocks are confusing #9362

fantasai opened this issue Sep 15, 2023 · 1 comment

Comments

@fantasai
Copy link
Collaborator

Example 9 in the spec https://www.w3.org/TR/css-anchor-position/#fallback-automatic shows off a "feature" that's super confusing to understand. The code doesn't make sense when you look at it. I understand @xiaochengh's suggestion of having specifying a fallback strategy, but having an implied @try blocks generated as "mirror images" of an existing try block because it happens to have an auto keyword in one particularly magic place is too much magic.

@xiaochengh
Copy link
Contributor

We've also addressed that in #9196's resolution: we'll get rid of auto and auto-same completely and use a standalone property to generate auto fallbacks.

So I don't think we have any work to do in this issue. Can we close it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants