Re: [csswg-drafts] [css-values-4] Ratio of `0/0`? (#4954)

Zero/infinite values were discussed https://github.com/w3c/csswg-drafts/issues/3757#issuecomment-525845920. My comment there mostly agrees with you above, although I seem to have skipped over the `aspect-ratio: 0/0` issue. I'd personally prefer to treat that as invalid = no aspect ratio defined.

See also https://github.com/w3c/csswg-drafts/issues/4572, which came up when I was searching for the other discussion & is probably worth another look — when taking the aspect ratio from width/height attributes, do you ignore a zero value? Unlike the `aspect-ratio` property, here we have actual browser behavior to compare (though I doubt it would be a strong web compat issue to change, since it is kind of an extreme edge case).

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4954#issuecomment-614329214 using your GitHub account

Received on Wednesday, 15 April 2020 23:27:24 UTC