Skip to content

Commit 6d0e135

Browse files
committed
Allow 'all' within the list in transition-property, as resolved in http://lists.w3.org/Archives/Public/www-style/2011Nov/0709.html . Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=14602 .
1 parent 11be24b commit 6d0e135

3 files changed

Lines changed: 60 additions & 34 deletions

File tree

css3-transitions/ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2012-02-17 dbaron@dbaron.org
2+
- Allow 'all' within the list in transition-property, as resolved in
3+
http://lists.w3.org/Archives/Public/www-style/2011Nov/0709.html .
4+
Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=14602 .
5+
6+
2012-02-15 dbaron@dbaron.org
7+
- link to issue tracking in Bugzilla
8+
19
2012-01-31 simon.fraser@apple.com
210
- Qualify the table style with a classname to avoid styling the propdef tables.
311
- Switch back to the Editors Draft stylesheet.

css3-transitions/Overview.html

Lines changed: 31 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525

2626
<h1>CSS Transitions</h1>
2727

28-
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 15 February
28+
<h2 class="no-num no-toc" id=longstatus-date>Editor's Draft 17 February
2929
2012</h2>
3030

3131
<dl>
3232
<dt>This version:
3333

34-
<dd> <a href="http://www.w3.org/TR/2012/ED-css3-transitions-20120215/">
34+
<dd> <a href="http://www.w3.org/TR/2012/ED-css3-transitions-20120217/">
3535
http://dev.w3.org/csswg/css3-transitions/</a>
36-
<!--http://www.w3.org/TR/2012/WD-css3-transitions-20120215-->
36+
<!--http://www.w3.org/TR/2012/WD-css3-transitions-20120217-->
3737

3838
<dt>Latest version:
3939

@@ -320,8 +320,8 @@ <h3 id=the-transition-property-property-><span class=secno>2.1. </span> The
320320
<tr>
321321
<td> <em>Value:</em>
322322

323-
<td> none | all | [ &lt;IDENT&gt; ] [ &lsquo;<code
324-
class=css>,</code>&rsquo; &lt;IDENT&gt; ]*
323+
<td> none | [ all | &lt;IDENT&gt; ] [ &lsquo;<code
324+
class=css>,</code>&rsquo; all | &lt;IDENT&gt; ]*
325325

326326
<tr>
327327
<td> <em>Initial:</em>
@@ -355,10 +355,9 @@ <h3 id=the-transition-property-property-><span class=secno>2.1. </span> The
355355
</table>
356356

357357
<p> A value of &lsquo;<code class=property>none</code>&rsquo; means that no
358-
property will transition. A value of &lsquo;<code
359-
class=property>all</code>&rsquo; means that every property that is able to
360-
undergo a transition will do so. Otherwise, a list of properties to be
361-
transitioned is given.
358+
property will transition. Otherwise, a list of properties to be
359+
transitioned, or the keyword &lsquo;<code class=property>all</code>&rsquo;
360+
which indicates that all properties are to be transitioned, is given.
362361

363362
<p> If one of the identifiers listed is not a recognized property name or
364363
is not an animatable property, the implementation must still start
@@ -373,23 +372,33 @@ <h3 id=the-transition-property-property-><span class=secno>2.1. </span> The
373372
words, unrecognized or non-animatable properties must be kept in the list
374373
to preserve the matching of indices.
375374

376-
<p class=issue> Are &lsquo;<code class=property>all</code>&rsquo;,
377-
&lsquo;<code class=property>none</code>&rsquo;, &lsquo;<code
378-
class=property>inherit</code>&rsquo;, and &lsquo;<code
375+
<p class=issue> Are &lsquo;<code class=property>none</code>&rsquo;,
376+
&lsquo;<code class=property>inherit</code>&rsquo;, and &lsquo;<code
379377
class=property>initial</code>&rsquo; allowed as items in a list of
380378
identifiers (of length greater than one)?
381379

382-
<p> If one of the identifiers listed is a shorthand property,
383-
implementations must start transitions for any of its longhand
384-
sub-properties that are animatable, using the duration, delay, and timing
385-
function at the index corresponding to the shorthand.
380+
<p> For the keyword &lsquo;<code class=property>all</code>&rsquo;, or if
381+
one of the identifiers listed is a shorthand property, implementations
382+
must start transitions for any of its longhand sub-properties that are
383+
animatable (or, for &lsquo;<code class=property>all</code>&rsquo;, all
384+
animatable properties), using the duration, delay, and timing function at
385+
the index corresponding to the shorthand.
386386

387387
<p> If a property is specified multiple times in the value of &lsquo;<a
388388
href="#transition-property"><code
389-
class=property>transition-property</code></a>&rsquo; (either on its own or
390-
via a shorthand that contains it), then the transition that starts uses
391-
the duration, delay, and timing function at the index corresponding to the
392-
<em>last</em> occurrence of the property.</p>
389+
class=property>transition-property</code></a>&rsquo; (either on its own,
390+
via a shorthand that contains it, or via the &lsquo;<code
391+
class=property>all</code>&rsquo; value), then the transition that starts
392+
uses the duration, delay, and timing function at the index corresponding
393+
to the <em>last</em> item in the value of &lsquo;<a
394+
href="#transition-property"><code
395+
class=property>transition-property</code></a>&rsquo; that calls for
396+
animation that property.
397+
398+
<p class=note> Note: The <code class=property>all</code> value and
399+
shorthand properties work in similar ways, so the <code
400+
class=property>all</code> value is just like a shorthand that covers all
401+
properties.</p>
393402
<!-- ======================================================================================================= -->
394403

395404
<h3 id=the-transition-duration-property-><span class=secno>2.2. </span> The
@@ -1566,7 +1575,8 @@ <h2 class=no-num id=property-index>Property index</h2>
15661575
<th><a class=property
15671576
href="#transition-property">transition-property</a>
15681577

1569-
<td>none | all | [ &lt;IDENT&gt; ] [ &lsquo;,&rsquo; &lt;IDENT&gt; ]*
1578+
<td>none | [ all | &lt;IDENT&gt; ] [ &lsquo;,&rsquo; all | &lt;IDENT&gt;
1579+
]*
15701580

15711581
<td>all
15721582

css3-transitions/Overview.src.html

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ <h3>
186186
<em>Value:</em>
187187
</td>
188188
<td>
189-
none | all | [ &lt;IDENT&gt; ] [ ',' &lt;IDENT&gt; ]*
189+
none | [ all | &lt;IDENT&gt; ] [ ',' all | &lt;IDENT&gt; ]*
190190
</td>
191191
</tr>
192192
<tr>
@@ -241,10 +241,10 @@ <h3>
241241
</table>
242242

243243
<p>
244-
A value of 'none' means that no property will transition. A value of
245-
'all' means that every property that is able to undergo a transition
246-
will do so. Otherwise, a list
247-
of properties to be transitioned is given.
244+
A value of 'none' means that no property will transition.
245+
Otherwise, a list of properties to be transitioned, or the
246+
keyword 'all' which indicates that all properties are to be
247+
transitioned, is given.
248248
</p>
249249

250250
<p>
@@ -258,21 +258,29 @@ <h3>
258258
the list to preserve the matching of indices.
259259
</p>
260260
<p class="issue">
261-
Are 'all', 'none', 'inherit', and 'initial' allowed as items in
261+
Are 'none', 'inherit', and 'initial' allowed as items in
262262
a list of identifiers (of length greater than one)?
263263
</p>
264264
<p>
265-
If one of the identifiers listed is a shorthand property,
266-
implementations must start transitions for any of its longhand
267-
sub-properties that are animatable, using the duration, delay,
265+
For the keyword 'all', or if one of the identifiers listed is a
266+
shorthand property, implementations must start transitions for
267+
any of its longhand sub-properties that are animatable (or, for
268+
'all', all animatable properties), using the duration, delay,
268269
and timing function at the index corresponding to the shorthand.
269270
</p>
270271
<p>
271272
If a property is specified multiple times in the value of
272-
'transition-property' (either on its own or via a shorthand that
273-
contains it), then the transition that starts uses the duration,
274-
delay, and timing function at the index corresponding to the
275-
<em>last</em> occurrence of the property.
273+
'transition-property' (either on its own, via a shorthand that
274+
contains it, or via the 'all' value), then the transition that
275+
starts uses the duration, delay, and timing function at the
276+
index corresponding to the <em>last</em> item in the value of
277+
'transition-property' that calls for animation that property.
278+
</p>
279+
<p class="note">
280+
Note: The <code class="property">all</code> value and shorthand
281+
properties work in similar ways, so the <code
282+
class="property">all</code> value is just like a shorthand that
283+
covers all properties.
276284
</p>
277285

278286
<!-- ======================================================================================================= -->

0 commit comments

Comments
 (0)