-
Notifications
You must be signed in to change notification settings - Fork 666
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] revert-layer should only revert the Position Fallback Origin #10319
Comments
Yes, this seems like an oversight in the spec. Happily, the shipped Chrome implementation follows your proposed behavior, so we should just update the spec. @tabatkins agrees and is in the process of updating the spec. Seems like no resolution is needed, but let us know if you disagree! |
A resolution wouldn't hurt, though I suppose this could fall under "Accepted as Obvious Bugfix" too. |
The CSS Working Group just discussed
The full IRC log of that discussion<emilio> fantasai: this one is I think an oversight in the spec<emilio> ... revert-layer is defined to revert to author origin but that's not how it works <emilio> TabAtkins: yeah I don't think I had paid enough attention to revert-layer, will fix in the spec <emilio> RESOLVED: Fix definition of revert-layer's behavior to match the general behavior elsewhere |
The current spec defines the Position Fallback Origin with a special rule as follows:
However the
revert-layer
keyword does not have this behavior. It's a special rule that applies only to therevert
keyword.It should therefore only apply to the
revert
keyword (and not therevert-layer
keyword) when used in the Position Fallback Origin also.The text was updated successfully, but these errors were encountered: