-
Notifications
You must be signed in to change notification settings - Fork 192
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
feat: update syntax for Anchor Positioning related properties #770
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, apart from a little detail: the element reference is called <anchor-name>
in the spec but we call it <anchor-element>
. Is there a reason for that? They might’ve renamed it recently, too.
it seems to be so when the data is added via #728 by @chrisdavidmills ,and at that time it is it has changed to so I've updated according to the spec also /cc @chrisdavidmills |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great! Thank you :)
Thanks a lot for this, @skyclouds2001. I've created a PR at mdn/content#36424 to make the equivalent updates in the content repo. |
@pepelsbey, can you merge this one? I don't have the necessary privs, unfortunately. |
Description
https://drafts.csswg.org/css-anchor-position-1/#anchor-size-fn for
anchor-size()
https://drafts.csswg.org/css-anchor-position-1/#position-anchor for
position-anchor
Motivation
Additional details
Related issues and pull requests