Bug 105430 - transition-property accepts "background, font-size, all" as value.
: transition-property accepts "background, font-size, all" as value.
Status: RESOLVED INVALID
: WebKit
CSS
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
: WebExposed
:
: 93136
  Show dependency treegraph
 
Reported: 2012-12-19 06:21 PST by
Modified: 2013-01-23 12:04 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-12-19 06:21:36 PST
http://www.w3.org/TR/css3-transitions/#transition-property-property

says : none | [ all | <IDENT> ] [ β€˜,’ [ all | <IDENT> ] ]*

so it is possible to have "background, font-size, all" as a value. I'm not sure what should be the behavior here : animating all the properties with the last index in the lists of "transition-duration", "transition-delay", ... or animating background, font-size with their respective indices in the lists of "transition-duration", "transition-delay", ... and animating all the other properties with the last index in the lists of "transition-duration", "transition-delay", ...

In the other hand "background, font-size, all" goes in conflict with "Otherwise, a list of properties to be transitioned, or the keyword β€˜all’ which indicates that all properties are to be transitioned, is given." which seem to assume that all comes alone.

Side note : Opera reject this value.
------- Comment #1 From 2013-01-22 10:39:16 PST -------
The spec is somewhat badly worded.  Treat 'all' like an omni-shorthand for every property, and then it just acts the same as every other shorthand.

(This is in fact literally true now, since we added the 'all' property <http://dev.w3.org/csswg/css3-cascade/#all-shorthand>.  The name was inspired by the Transitions value. ^_^)
------- Comment #2 From 2013-01-22 11:10:03 PST -------
<TabAtkins> "<anything>, all" should be equivalent to just "all", and "all, <anything>" should animate everything but the <anything> with the first transition, and the <anything> with the second.

Before closing the bug, or make a patch, I will investigate this behavior.
------- Comment #3 From 2013-01-23 12:04:37 PST -------
I double checked and we do follow the behaviour described by Tab.

http://jsbin.com/upafut/3/edit for the record.