@@ -1284,27 +1284,21 @@ Ratios: the <<ratio>> type</h3>
12841284Combination of <<ratio>></h4>
12851285
12861286 The interpolation of a <<ratio>> is defined
1287- by interpolating the first values (the numerator)
1288- of each ratio as a <<number>> ,
1289- and the second values (the denominator)
1290- or each ratio as a <<number>> .
1287+ by converting each <<ratio>> to an equivalent form
1288+ with a ''1'' as its second value
1289+ (so a ratio of ''3 / 2'' would become ''1.5 / 1'' ),
1290+ then interpolating the numbers directly .
12911291
12921292 <div class='example'>
12931293 For example,
12941294 halfway through a linear interpolation from ''5 / 1'' to ''3 / 2'' ,
1295- the result is the ratio ''4 / 1.5'' .
1296-
1297- Note that this means the results are scale-dependent;
1298- interpolating from ''5 / 1'' to ''300 / 200'' ,
1299- which have identical-looking endpoints,
1300- gives the value ''152.5 / 100.5'' at the halfway point,
1301- which is very close to the 3:2 ratio of the endpoint.
1302- In general, if one ratio is written with much larger numbers than the other,
1303- the interpolation result spends most of its time
1304- very close to the large-number ratio.
1305- </div>
1295+ the result is the ratio ''3.25 / 1'' ,
1296+ because 3.25 is halfway between 5 and 1.5.
13061297
1307- Issue: This is being discussed in <a href="https://github.com/w3c/csswg-drafts/issues/4953">Issue 4953</a> .
1298+ Note that this means the results are <em> not</em> scale-dependent;
1299+ interpolating from ''5 / 1'' to ''300 / 200''
1300+ gives the same results as the preceding example.
1301+ </div>
13081302
13091303 Addition of <<ratio>> s is not possible.
13101304
0 commit comments