[csswg-drafts] [css-values-4] Consider changing the specified behavior of <ratio>: 0 / 0 (#5084)

emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-4] Consider changing the specified behavior of <ratio>: 0 / 0 ==
https://drafts.csswg.org/css-values-4/#ratios says:

> The computed value of a <ratio> is the pair of numbers provided, unless both numbers are zero, in which case the computed value is the pair (1, 0) (same as 1 / 0).

Is there a strong reason this is a computed value change rather than just a "behaves as"?

There isn't really a problem with this, but it feels odd to make it serialize to something else for no good reason, and it seems weird to serialize to `0 / 0` in specified values and `1 / 0` in computed values.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5084 using your GitHub account

Received on Tuesday, 19 May 2020 00:26:00 UTC