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:
568
-
<ul>
569
-
<li>
570
-
Replace each inset rectangle with a temporary inset rectangle with offsets relative to the margin-box.
571
-
</li>
572
-
<li>
573
-
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
574
-
</li>
575
-
<li>
576
-
Interpolate between each value of the temporary inset rectangles.
577
-
</li>
578
-
</ul>
567
+
If the second shape uses
568
+
a different <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a>
569
+
than the first,
570
+
replace the second shape
571
+
with a temporary equivalent shape
572
+
that uses the <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a>
573
+
of the first shape.
574
+
</li>
575
+
<li>
576
+
If both shapes are the same type,
577
+
that type is <aclass=cssdata-link-type=maybehref=#funcdef-ellipsetitle=ellipse()>ellipse()</a> or <aclass=cssdata-link-type=maybehref=#funcdef-circletitle=circle()>circle()</a>,
578
+
and none of the radii use
579
+
the <aclass=cssdata-link-type=maybehref=#closest-sidetitle=closest-side>closest-side</a> or <aclass=cssdata-link-type=maybehref=#farthest-sidetitle=farthest-side>farthest-side</a> keywords,
580
+
interpolate between each value
581
+
in the shape functions.
579
582
</li>
580
583
<li>
581
-
If both basic shapes are of type polygon
582
-
and if both polygons have the same number of vertices:
583
-
<ul>
584
-
<li>
585
-
If the polygons use a different <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a>, replace the second polygon with a temporary equivalent polygon that uses the <adata-link-type=dfnhref=#reference-boxtitle="reference box">reference box</a> of the first.
586
-
<li>
587
-
Interpolate between each value.
588
-
</li>
589
-
</ul>
584
+
If both shapes are of type <aclass=cssdata-link-type=maybehref=#funcdef-insettitle=inset()>inset()</a>,
585
+
interpolate between each value
586
+
in the shape functions.
590
587
</li>
591
588
<li>
592
-
In all other cases:
593
-
<ul>
594
-
<li>
595
-
No interpolation is specified.
596
-
</li>
597
-
</ul>
589
+
If both shapes are of type <aclass=cssdata-link-type=maybehref=#funcdef-polygontitle=polygon()>polygon()</a>
For interpolating between two shapes that are type inset rectangle, ellipse or circle:
451
-
<ul>
452
-
<li>
453
-
Replace each inset rectangle with a temporary inset rectangle with offsets relative to the margin-box.
454
-
</li>
455
-
<li>
456
-
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
457
-
</li>
458
-
<li>
459
-
Interpolate between each value of the temporary inset rectangles.
460
-
</li>
461
-
</ul>
450
+
If the second shape uses
451
+
a different <a>reference box</a>
452
+
than the first,
453
+
replace the second shape
454
+
with a temporary equivalent shape
455
+
that uses the <a>reference box</a>
456
+
of the first shape.
457
+
</li>
458
+
<li>
459
+
If both shapes are the same type,
460
+
that type is ''ellipse()'' or ''circle()'',
461
+
and none of the radii use
462
+
the ''closest-side'' or ''farthest-side'' keywords,
463
+
interpolate between each value
464
+
in the shape functions.
462
465
</li>
463
466
<li>
464
-
If both basic shapes are of type polygon
465
-
and if both polygons have the same number of vertices:
466
-
<ul>
467
-
<li>
468
-
If the polygons use a different <a>reference box</a>, replace the second polygon with a temporary equivalent polygon that uses the <a>reference box</a> of the first.
0 commit comments