Skip to content

Commit ae516fd

Browse files
committed
2011-07-24 dino@apple.com
- 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.
1 parent 797ea4c commit ae516fd

File tree

3 files changed

+45
-52
lines changed

3 files changed

+45
-52
lines changed

css3-transitions/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2011-07-24 dino@apple.com
2+
3+
- Inverted range of visibility property (Sylvain feedback 28 April)
4+
- Zero times now have the unit specifier (dbaron feedback 11 April)
5+
- Lists repeat if possible in transitions (Sylvain feedback 7 April)
6+
Also, removed "space-separated" from that section. Lists can be
7+
comma-separated too.
8+
19
2011-04-05 dino@apple.com
210

311
- change shorthand transition description to say that *any* transitionable

css3-transitions/Overview.html

Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929

3030
<h1>CSS Transitions</h1>
3131

32-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 3 June 2011</h2>
32+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 25 July 2011</h2>
3333

3434
<dl>
3535
<dt>This version:
3636

37-
<dd> <a href="http://www.w3.org/TR/2011/ED-css3-transitions-20110603/">
37+
<dd> <a href="http://www.w3.org/TR/2011/ED-css3-transitions-20110725/">
3838
http://dev.w3.org/csswg/css3-transitions/</a>
39-
<!--http://www.w3.org/TR/2011/WD-css3-transitions-20110603-->
39+
<!--http://www.w3.org/TR/2011/WD-css3-transitions-20110725-->
4040

4141
<dt>Latest version:
4242

@@ -365,16 +365,6 @@ <h3 id=the-transition-property-property-><span class=secno>2.1. </span> The
365365
undergo a transition will do so. Otherwise, a list of properties to be
366366
transitioned is given.
367367

368-
<div class=issue> We need to generate a list of properties that can be
369-
transitioned.</div>
370-
371-
<div class=issue> Is "none" even a useful value if the initial value is
372-
"all"? The syntax is more elegant if transition-duration defaults to 0 and
373-
this property defaults to "all", but another option is to default this
374-
property to "none" and duration to something reasonable, e.g., 250ms. This
375-
would force an author to specify transition-property in the shorthand all
376-
the time though.</div>
377-
378368
<p> If one of the identifiers listed is not a recognized property name or
379369
is not an animatable property, the implementation must still start
380370
transitions on the animatable properties in the list using the duration,
@@ -430,7 +420,7 @@ <h3 id=the-transition-duration-property-><span class=secno>2.2. </span> The
430420
<tr>
431421
<td> <em>Initial:</em>
432422

433-
<td> 0
423+
<td> 0s
434424

435425
<tr>
436426
<td> <em>Applies&nbsp;to:</em>
@@ -460,10 +450,10 @@ <h3 id=the-transition-duration-property-><span class=secno>2.2. </span> The
460450

461451
<p> This property specifies how long the transition from the old value to
462452
the new value should take. By default the value is &lsquo;<code
463-
class=css>0</code>&rsquo;, meaning that the transition is immediate (i.e.
453+
class=css>0s</code>&rsquo;, meaning that the transition is immediate (i.e.
464454
there will be no animation). A negative value for <a class=prop-name
465455
href="#transition-duration">transition-duration</a> is treated as
466-
&lsquo;<code class=css>0</code>&rsquo;.</p>
456+
&lsquo;<code class=css>0s</code>&rsquo;.</p>
467457
<!-- =======================================================================================================
468458
-->
469459

@@ -649,7 +639,7 @@ <h3 id=the-transition-delay-property-><span class=secno>2.4. </span> The
649639
some some period of time from when it is applied. A <span
650640
class=prop-name>&lsquo;<a href="#transition-delay"><code
651641
class=property>transition-delay</code></a>&rsquo;</span> value of
652-
&lsquo;<code class=css>0</code>&rsquo; means the transition will execute
642+
&lsquo;<code class=css>0s</code>&rsquo; means the transition will execute
653643
as soon as the property is changed. Otherwise, the value specifies an
654644
offset from the moment the property is changed, and the transition will
655645
delay execution by that offset.
@@ -680,7 +670,7 @@ <h3 id=the-transition-delay-property-><span class=secno>2.4. </span> The
680670
<tr>
681671
<td> <em>Initial:</em>
682672

683-
<td> 0
673+
<td> 0s
684674

685675
<tr>
686676
<td> <em>Applies&nbsp;to:</em>
@@ -1088,8 +1078,8 @@ <h2 id=animation-of-property-types-><span class=secno>6. </span> Animation
10881078
height components (treating each as a number).
10891079

10901080
<li> <strong>visibility</strong>: interpolated via a discrete step. The
1091-
interpolation happens in real number space between 0 and 1, where 1 is
1092-
"visible" and all other values are "hidden".
1081+
interpolation happens in real number space between 0 and 1, where 0 is
1082+
"hidden" and all other values are "visible".
10931083

10941084
<li> <strong>shadow</strong>: interpolated via the color, x, y and blur
10951085
components (treating them as color and numbers where appropriate). In the
@@ -1108,13 +1098,16 @@ <h2 id=animation-of-property-types-><span class=secno>6. </span> Animation
11081098
between: gradient to gradient and color to color. They then work as
11091099
above.
11101100

1111-
<li> <strong>space-separated list of above</strong>: If the lists have the
1112-
same number of items, each item in the list is interpolated using the
1113-
rules above. Otherwise, no interpolation (unless stated otherwise above).
1114-
<span class=issue>For lists that represent a list of things to be cycled
1115-
through (e.g., stroke-dasharray), it is straightforward to interpolate
1116-
between lists of different lengths by repeating the two lists out to the
1117-
least common multiple of their lengths.</span>
1101+
<li> <strong>list of above types</strong>: If the lists have the same
1102+
number of items, each item in the list is interpolated using the rules
1103+
above. Otherwise the interpolation is determined by the property rules.
1104+
If the property extends its list by repeating values, then this repeated
1105+
form will be used in the interpolation (<span
1106+
class=prop-name>&lsquo;<code
1107+
class=property>background-position</code>&rsquo;</span> in an example of
1108+
a property that would transition between lists of different lengths). If
1109+
the property does not allow extending its list, then no interpolation
1110+
will occur.
11181111

11191112
<li> <strong>a shorthand property</strong>: If any part of a shorthand can
11201113
be animated, then interpolation is performed as if those animatable
@@ -1534,7 +1527,7 @@ <h2 class=no-num id=property-index>Property index</h2>
15341527

15351528
<td>&lt;time&gt; [, &lt;time&gt;]*
15361529

1537-
<td>0
1530+
<td>0s
15381531

15391532
<td>all elements, :before and :after pseudo elements
15401533

@@ -1550,7 +1543,7 @@ <h2 class=no-num id=property-index>Property index</h2>
15501543

15511544
<td>&lt;time&gt; [, &lt;time&gt;]*
15521545

1553-
<td>0
1546+
<td>0s
15541547

15551548
<td>all elements, :before and :after pseudo elements
15561549

css3-transitions/Overview.src.html

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -247,14 +247,6 @@ <h3>
247247
of properties to be transitioned is given.
248248
</p>
249249

250-
<div class="issue">
251-
We need to generate a list of properties that can be transitioned.
252-
</div>
253-
254-
<div class="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-
258250
<p>
259251
If one of the identifiers listed is not a recognized property
260252
name or is not an animatable property, the implementation must
@@ -313,7 +305,7 @@ <h3>
313305
<em>Initial:</em>
314306
</td>
315307
<td>
316-
0
308+
0s
317309
</td>
318310
</tr>
319311
<tr>
@@ -359,7 +351,7 @@ <h3>
359351
</tbody>
360352
</table>
361353
<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 <span class="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 <span class="prop-name">transition-duration</span> is treated as '0s'.
363355
</p>
364356

365357
<!-- =======================================================================================================
@@ -577,7 +569,7 @@ <h3>
577569
The <span class="prop-name">'transition-delay'</span> Property
578570
</h3>
579571
<p>
580-
The <span class="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 <span class="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 <span class="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 <span class="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.
581573
</p>
582574
<p>
583575
If the value for <span class="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 <span class="prop-name">'transition-delay'</span>, the starting values are taken from the moment the property is changed.
@@ -605,7 +597,7 @@ <h3>
605597
<em>Initial:</em>
606598
</td>
607599
<td>
608-
0
600+
0s
609601
</td>
610602
</tr>
611603
<tr>
@@ -1043,7 +1035,7 @@ <h2>
10431035
<li>
10441036
<strong>color</strong>: interpolated via red, green, blue and alpha
10451037
components (treating each as a number, see below).
1046-
<div class=issue>Issue: Are the colors interpolated in
1038+
<div class="issue">Issue: Are the colors interpolated in
10471039
premultiplied space or non-premultiplied space?</div>
10481040
</li>
10491041
<li>
@@ -1072,7 +1064,7 @@ <h2>
10721064
<li>
10731065
<strong>visibility</strong>: interpolated via a discrete
10741066
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".
10761068
</li>
10771069
<li>
10781070
<strong>shadow</strong>: interpolated via the color, x, y
@@ -1094,15 +1086,15 @@ <h2>
10941086
work as above.
10951087
</li>
10961088
<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-
<span class="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.
11061098
</li>
11071099
<li>
11081100
<strong>a shorthand property</strong>: If any part of a

0 commit comments

Comments
 (0)