tailwindcss/packages
Robin Malfait 6eb3b32434
Allow multiples of .25 in aspect-* fractions (#19688)
This PR reduces the restrictions of the `aspect-*` utilities when
dealing with fractional values.

Up until now, the numbers had to be positive integers, so `aspect-1/2`
was valid, but `aspect-8.5/11` was not.

This PR allows for any multiple of `.25` as a valid value, so
`aspect-8.5/11` is now valid, but `aspect-8.3/11` is not, this will
still require `aspect-[8.3/11]` arbitrary value syntax to be valid.

This behavior of allowing multiples of `.25` is consistent with other
utilities that handle bare values such as `w-2.5`.

## Test plan

1. Existing tests pass
2. Added a test for `aspect-8.5/11`

Fixes: #19663
Closes: #19680, #19669
2026-02-17 19:32:31 +01:00
..
@tailwindcss-browser Fix Tailwind CSS package README GitHub links (#19644) 2026-02-07 19:26:38 -05:00
@tailwindcss-cli Fix Tailwind CSS package README GitHub links (#19644) 2026-02-07 19:26:38 -05:00
@tailwindcss-node Fix Tailwind CSS package README GitHub links (#19644) 2026-02-07 19:26:38 -05:00
@tailwindcss-postcss Fix Tailwind CSS package README GitHub links (#19644) 2026-02-07 19:26:38 -05:00
@tailwindcss-standalone Bump dependencies (#19608) 2026-02-04 12:38:50 +01:00
@tailwindcss-upgrade Fix Tailwind CSS package README GitHub links (#19644) 2026-02-07 19:26:38 -05:00
@tailwindcss-vite Fix Tailwind CSS package README GitHub links (#19644) 2026-02-07 19:26:38 -05:00
@tailwindcss-webpack Add @tailwindcss/webpack loader for Tailwind CSS v4 (#19610) 2026-01-29 14:16:31 +00:00
internal-example-plugin Prefix internal modules with internal-* (#14074) 2024-07-29 10:58:07 -04:00
tailwindcss Allow multiples of .25 in aspect-* fractions (#19688) 2026-02-17 19:32:31 +01:00
tsconfig.base.json Improve debug logs (#15303) 2024-12-11 15:27:20 +01:00