Skip to content

fix: support spaced composite aspect ratios - #489

Open
vorban wants to merge 1 commit into
ezyang:masterfrom
vorban:fix/spaced-composite-aspect-ratio
Open

fix: support spaced composite aspect ratios#489
vorban wants to merge 1 commit into
ezyang:masterfrom
vorban:fix/spaced-composite-aspect-ratio

Conversation

@vorban

@vorban vorban commented Aug 24, 2026

Copy link
Copy Markdown

Hi!

We've noticed a small bug in the aspect ratio purifying:
auto 16 / 9 would turn into auto 16 9 which is an invalid CSS aspect ratio.

This PR adds tests that would fail, alongside the fix so they pass.

`auto 16 / 9` would turn into `auto 16 9` which is an invalid CSS
aspect ratio.

This commit adds tests that would fail without the fix.
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.

1 participant