Describe the bug
When run through cssnano, values for the aspect-ratio CSS property (such as 4 / 3) are automatically converted into decimals (1.3333333). This fully breaks aspect-ratio in all major browsers.
To Reproduce
Steps to reproduce the behavior:
Use the aspect-ratio property
Run the stylesheet through cssnano
Open the result in a browser
See error
Expected behavior
I would expect cssnano to recognize instances of this property and leave them as fractions.
Screenshots
If applicable, add screenshots to help explain your problem. (from cssnano-playground)
Desktop (please complete the following information):
Describe the bug
When run through cssnano, values for the
aspect-ratio
CSS property (such as4 / 3
) are automatically converted into decimals (1.3333333
). This fully breaksaspect-ratio
in all major browsers.To Reproduce
Steps to reproduce the behavior:
aspect-ratio
propertyExpected behavior
I would expect cssnano to recognize instances of this property and leave them as fractions.
Screenshots
If applicable, add screenshots to help explain your problem. (from cssnano-playground)
Desktop (please complete the following information):
Additional context
I'm aware browser support for the
aspect-ratio
property is limited, but it would be great to go ahead and support it.The text was updated successfully, but these errors were encountered: