Bug 105430

Summary: transition-property accepts "background, font-size, all" as value.
Product: WebKit Reporter: Alexis Menard (darktears) <menard>
Component: CSSAssignee: Alexis Menard (darktears) <menard>
Status: RESOLVED INVALID    
Severity: Normal CC: tabatkins
Priority: P2 Keywords: WebExposed
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 93136    

Description Alexis Menard (darktears) 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 Tab Atkins 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 Alexis Menard (darktears) 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 Alexis Menard (darktears) 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.