-
Notifications
You must be signed in to change notification settings - Fork 658
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
[css-anchor-position] Does fallback affect the computed style? #9229
Comments
I think these are already clear in the current specs. https://drafts.csswg.org/css-anchor-position-1/#fallback-apply:
So they are applied at used value time (during layout), and do not affect the computed values.
Yes, because
No, because Note: this is just how it currently works, but ideally, we would still like fallback declarations to be applied at computed value time, so that smooth transitioning between fallback positions can be possible. See #8372 |
Ok, that matches my intuition on how it should be spec'd, great :) I think I just didn't realize that was properly defined further down. Maybe https://drafts.csswg.org/css-anchor-position-1/#fallback-rule should somehow link to that section? |
I assume this issue is purely editorial then? |
Yes |
This should be well specified now. |
https://drafts.csswg.org/css-anchor-position-1/#fallback-rule is pretty vague on how fallback applies.
Should the fallback be observable from
getComputedStyle()
? What aboutcomputedStyleMap
?Presumably insets/margins should since those return the used values from
getComputedStyle
, but others properties won't?The text was updated successfully, but these errors were encountered: