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
- Inverted range of visibility property (Sylvain feedback 28 April)
- Zero times now have the unit specifier (dbaron feedback 11 April)
- Lists repeat if possible in transitions (Sylvain feedback 7 April)
Also, removed "space-separated" from that section. Lists can be
comma-separated too.
Copy file name to clipboardExpand all lines: css3-transitions/Overview.src.html
+15-23Lines changed: 15 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -247,14 +247,6 @@ <h3>
247
247
of properties to be transitioned is given.
248
248
</p>
249
249
250
-
<divclass="issue">
251
-
We need to generate a list of properties that can be transitioned.
252
-
</div>
253
-
254
-
<divclass="issue">
255
-
Is "none" even a useful value if the initial value is "all"? The syntax is more elegant if transition-duration defaults to 0 and this property defaults to "all", but another option is to default this property to "none" and duration to something reasonable, e.g., 250ms. This would force an author to specify transition-property in the shorthand all the time though.
256
-
</div>
257
-
258
250
<p>
259
251
If one of the identifiers listed is not a recognized property
260
252
name or is not an animatable property, the implementation must
@@ -313,7 +305,7 @@ <h3>
313
305
<em>Initial:</em>
314
306
</td>
315
307
<td>
316
-
0
308
+
0s
317
309
</td>
318
310
</tr>
319
311
<tr>
@@ -359,7 +351,7 @@ <h3>
359
351
</tbody>
360
352
</table>
361
353
<p>
362
-
This property specifies how long the transition from the old value to the new value should take. By default the value is '0', meaning that the transition is immediate (i.e. there will be no animation). A negative value for <spanclass="prop-name">transition-duration</span> is treated as '0'.
354
+
This property specifies how long the transition from the old value to the new value should take. By default the value is '0s', meaning that the transition is immediate (i.e. there will be no animation). A negative value for <spanclass="prop-name">transition-duration</span> is treated as '0s'.
The <spanclass="prop-name">'transition-delay'</span> Property
578
570
</h3>
579
571
<p>
580
-
The <spanclass="prop-name">'transition-delay'</span> property defines when the transition will start. It allows a transition to begin execution some some period of time from when it is applied. A <spanclass="prop-name">'transition-delay'</span> value of '0' means the transition will execute as soon as the property is changed. Otherwise, the value specifies an offset from the moment the property is changed, and the transition will delay execution by that offset.
572
+
The <spanclass="prop-name">'transition-delay'</span> property defines when the transition will start. It allows a transition to begin execution some some period of time from when it is applied. A <spanclass="prop-name">'transition-delay'</span> value of '0s' means the transition will execute as soon as the property is changed. Otherwise, the value specifies an offset from the moment the property is changed, and the transition will delay execution by that offset.
581
573
</p>
582
574
<p>
583
575
If the value for <spanclass="prop-name">'transition-delay'</span> is a negative time offset then the transition will execute the moment the property is changed, but will appear to have begun execution at the specified offset. That is, the transition will appear to begin part-way through its play cycle. In the case where a transition has implied starting values and a negative <spanclass="prop-name">'transition-delay'</span>, the starting values are taken from the moment the property is changed.
@@ -605,7 +597,7 @@ <h3>
605
597
<em>Initial:</em>
606
598
</td>
607
599
<td>
608
-
0
600
+
0s
609
601
</td>
610
602
</tr>
611
603
<tr>
@@ -1043,7 +1035,7 @@ <h2>
1043
1035
<li>
1044
1036
<strong>color</strong>: interpolated via red, green, blue and alpha
1045
1037
components (treating each as a number, see below).
1046
-
<divclass=issue>Issue: Are the colors interpolated in
1038
+
<divclass="issue">Issue: Are the colors interpolated in
1047
1039
premultiplied space or non-premultiplied space?</div>
1048
1040
</li>
1049
1041
<li>
@@ -1072,7 +1064,7 @@ <h2>
1072
1064
<li>
1073
1065
<strong>visibility</strong>: interpolated via a discrete
1074
1066
step. The interpolation happens in real number space between 0 and 1,
1075
-
where 1 is "visible" and all other values are "hidden".
1067
+
where 0 is "hidden" and all other values are "visible".
1076
1068
</li>
1077
1069
<li>
1078
1070
<strong>shadow</strong>: interpolated via the color, x, y
@@ -1094,15 +1086,15 @@ <h2>
1094
1086
work as above.
1095
1087
</li>
1096
1088
<li>
1097
-
<strong>space-separated list of above</strong>: If the lists
1098
-
have the same number of items, each item in the list
1099
-
is interpolated using the rules above. Otherwise, no
1100
-
interpolation (unless stated otherwise above).
1101
-
<spanclass="issue">For lists that represent a list of things
1102
-
to be cycled through (e.g., stroke-dasharray), it is
1103
-
straightforward to interpolate between lists of different
1104
-
lengths by repeating the two lists out to the least common
1105
-
multiple of their lengths.</span>
1089
+
<strong>list of above types</strong>: If the lists have the
1090
+
same number of items, each item in the list is interpolated using the
1091
+
rules above. Otherwise the interpolation is determined by the property
1092
+
rules. If the property extends its list by repeating values, then this
1093
+
repeated form will be used in the interpolation (<span
1094
+
class="prop-name">'background-position'</span> in an example of a
1095
+
property that would transition between lists of different lengths). If
1096
+
the property does not allow extending its list, then no interpolation
1097
+
will occur.
1106
1098
</li>
1107
1099
<li>
1108
1100
<strong>a shorthand property</strong>: If any part of a
0 commit comments