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

Fix aspect-ratio syntax to support both auto and <ratio> in combination #776

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

ryo-manba
Copy link
Contributor

@ryo-manba ryo-manba commented Oct 28, 2024

Description

Fixed incorrect syntax: | replaced with ||.

Motivation

Additional details

aspect-ratio - CSS: Cascading Style Sheets | MDN

Related issues and pull requests

Related issues:

BEGIN_COMMIT_OVERRIDE
fix(css): aspect-ratio value supports both 'auto' and 'ratio' together
END_COMMIT_OVERRIDE

@ryo-manba ryo-manba requested a review from a team as a code owner October 28, 2024 15:02
@ryo-manba ryo-manba requested review from bsmth and removed request for a team October 28, 2024 15:02
Copy link
Contributor

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

@bsmth
Copy link
Member

bsmth commented Oct 29, 2024

Super, thank you. Here's the section in the spec for the value definition:

https://drafts.csswg.org/css-sizing-4/#valdef-aspect-ratio-auto--ratio

Copy link
Member

@bsmth bsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@bsmth bsmth merged commit 4fa8523 into mdn:main Oct 29, 2024
4 checks passed
Copy link
Contributor

Congratulations on your first merged pull request. 🎉 Thank you for your contribution! Did you know we have a project board with high-impact contribution opportunities? We look forward to your next contribution.

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

Successfully merging this pull request may close these issues.

2 participants