Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it so that aspect ratio behaves like auto if it is 0 or inf (#46428
) Summary: Pull Request resolved: #46428 X-link: facebook/yoga#1696 We do not validate the aspect ratio to ensure it is non zero and non inf in a lot of places. Per the spec, these values should act like auto. There is no auto keyword, but it is the default so I just set the style to a default FloatOptional in this case Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D62473161 fbshipit-source-id: 6857de819538a7a87ce0a652e99f5a49992921ae
- Loading branch information