You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For interpolating between two shapes that are type inset-rectangle, ellipse or circle:
542
534
<ul>
543
535
<li>
544
-
Replace the circle/ellipse with
545
-
a temporary rectangle of equal dimension.
536
+
Replace each inset-rectangle with a temporary inset-rectangle with offsets relative to the margin-box.
546
537
</li>
547
538
<li>
548
-
Set the values for rx and ry
549
-
on the temporary rectangle to ‘50%’.
539
+
Replace each circle and ellipse with a temporary inset-rectangle with offsets relative to the margin-box, and <<aclass=propertydata-link-type=propdeschref=http://dev.w3.org/csswg/css-backgrounds-4/#border-radiustitle=border-radius>border-radius</a>> values to make the inset-rectangle equivalent to the original circle or ellipse
550
540
</li>
551
541
<li>
552
-
Interpolate between the two rectangles as above.
542
+
Interpolate between each value of the temporary inset-rectangles.
553
543
</li>
554
544
</ul>
555
545
</li>
556
-
<li>
557
-
If one basic shape is an inset rectangle
558
-
and the second is of type rectangle, circle or ellipse:
559
-
<ul>
560
-
<li>
561
-
Replace the inset rectangle with
562
-
a temporary rectangle of equal dimension.
563
-
</li>
564
-
<li>
565
-
Interpolate between the basic shapes as above.
566
-
</li>
567
-
</ul>
568
546
<li>
569
547
If both basic shapes are of type polygon
570
548
and if both polygons have the same number of vertices:
571
549
<ul>
550
+
<li>
551
+
If the polygons use a different relevant box, replace one of the polygons with a temporary equivalent polygon that uses the relevant box of the other.
For interpolating between two shapes that are type inset-rectangle, ellipse or circle:
425
417
<ul>
426
418
<li>
427
-
Replace the circle/ellipse with
428
-
a temporary rectangle of equal dimension.
419
+
Replace each inset-rectangle with a temporary inset-rectangle with offsets relative to the margin-box.
429
420
</li>
430
421
<li>
431
-
Set the values for rx and ry
432
-
on the temporary rectangle to ‘50%’.
422
+
Replace each circle and ellipse with a temporary inset-rectangle with offsets relative to the margin-box, and <'border-radius'> values to make the inset-rectangle equivalent to the original circle or ellipse
433
423
</li>
434
424
<li>
435
-
Interpolate between the two rectangles as above.
425
+
Interpolate between each value of the temporary inset-rectangles.
436
426
</li>
437
427
</ul>
438
428
</li>
439
-
<li>
440
-
If one basic shape is an inset rectangle
441
-
and the second is of type rectangle, circle or ellipse:
442
-
<ul>
443
-
<li>
444
-
Replace the inset rectangle with
445
-
a temporary rectangle of equal dimension.
446
-
</li>
447
-
<li>
448
-
Interpolate between the basic shapes as above.
449
-
</li>
450
-
</ul>
451
429
<li>
452
430
If both basic shapes are of type polygon
453
431
and if both polygons have the same number of vertices:
454
432
<ul>
433
+
<li>
434
+
If the polygons use a different relevant box, replace one of the polygons with a temporary equivalent polygon that uses the relevant box of the other.
0 commit comments