Skip to content
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

Support @position-try #858

Open
yisibl opened this issue Nov 27, 2024 · 2 comments
Open

Support @position-try #858

yisibl opened this issue Nov 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@yisibl
Copy link
Contributor

yisibl commented Nov 27, 2024

@devongovett devongovett added the enhancement New feature or request label Jan 1, 2025
@yisibl
Copy link
Contributor Author

yisibl commented Jan 2, 2025

@fregante There are some special rules here: https://drafts.csswg.org/css-anchor-position-1/#at-ruledef-position-try

The @position-try rule only accepts the following properties:

inset properties

margin properties

sizing properties

self-alignment properties

position-anchor

position-area

It is invalid to use !important on the properties in the . Doing so causes the property it is used on to become invalid, but does not invalidate the @property-try rule as a whole.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants