File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1141,9 +1141,15 @@ <h2 id=animation-of-property-types-><span class=secno>6. </span> Animation
11411141 < li > < strong > rectangle</ strong > : interpolated via the x, y, width and
11421142 height components (treating each as a number).
11431143
1144- < li > < strong > visibility</ strong > : interpolated via a discrete step. The
1145- interpolation happens in real number space between 0 and 1, where 0 is
1146- "hidden" and all other values are "visible".
1144+ < li > < strong > visibility</ strong > : if one of the values is ‘< code
1145+ class =property > visible</ code > ’, interpolated as a discrete step
1146+ where values of the timing function between 0 and 1 map to ‘< code
1147+ class =property > visible</ code > ’ and other values of the timing
1148+ function (which occur only at the start/end of the transition or as a
1149+ result of ‘< code class =css > cubic-bezier()</ code > ’ functions
1150+ with Y values outside of [0, 1]) map to the closer endpoint; if neither
1151+ value is ‘< code class =property > visible</ code > ’ then not
1152+ interpolable.
11471153
11481154 < li > < strong > shadow</ strong > : interpolated via the color, x, y and blur
11491155 components (treating them as color and numbers where appropriate). In the
Original file line number Diff line number Diff line change @@ -1124,9 +1124,14 @@ <h2 id="animation-of-property-types-">
11241124 width and height components (treating each as a number).
11251125 </ li >
11261126 < li >
1127- < strong > visibility</ strong > : interpolated via a discrete
1128- step. The interpolation happens in real number space between 0 and 1,
1129- where 0 is "hidden" and all other values are "visible".
1127+ < strong > visibility</ strong > : if one of the values is
1128+ 'visible', interpolated as a discrete step where values of the
1129+ timing function between 0 and 1 map to 'visible' and other
1130+ values of the timing function (which occur only at the
1131+ start/end of the transition or as a result of 'cubic-bezier()'
1132+ functions with Y values outside of [0, 1]) map to the closer
1133+ endpoint; if neither value is 'visible' then not interpolable.
1134+ </ span >
11301135 </ li >
11311136 < li >
11321137 < strong > shadow</ strong > : interpolated via the color, x, y
You can’t perform that action at this time.
0 commit comments