Bug 71623

Summary: animation-timing-function falls back to ease when overriding animation-name
Product: WebKit Reporter: Lea Verou <lea>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin, dglazkov, dino, macpherson, menard, simon.fraser, webkit-bug-importer, webkit.review.bot
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.6   
URL: http://jsfiddle.net/leaverou/zXPzY/44/show
Attachments:
Description Flags
Patch
simon.fraser: review+, webkit.review.bot: commit-queue-
Patch none

Description Lea Verou 2011-11-06 02:21:16 PST
If you use the animation shorthand without an animation-name and then use animation-name separately, the easing fallsback to the initial value (ease), instead of the specified one (linear). However, the shorthand declaration isn't dropped entirely, as the duration and iteration-count behave as expected. 

Firefox does not have this problem, as can be seen by the more generic version of the testcase http://jsfiddle.net/leaverou/zXPzY/43/show (which uses -prefix-free to add the prefixes, unlike the testcase which only uses -webkit- and no scripts).

The issue is also reproducible in Webkit nightlies.
Comment 1 Radar WebKit Bug Importer 2011-11-07 09:43:00 PST
<rdar://problem/10406049>
Comment 2 Igor Trindade Oliveira 2012-02-29 13:41:53 PST
Created attachment 129511 [details]
Patch

Proposed patch.
Comment 3 WebKit Review Bot 2012-02-29 17:29:23 PST
Comment on attachment 129511 [details]
Patch

Attachment 129511 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/11766102

New failing tests:
compositing/animation/computed-style-during-delay.html
animations/stop-animation-on-suspend.html
compositing/animation/animation-compositing.html
fast/css/transform-inline-style-remove.html
Comment 4 Igor Trindade Oliveira 2012-03-02 11:28:08 PST
Created attachment 129929 [details]
Patch

Proposed patch v2.
Comment 5 WebKit Review Bot 2012-03-02 13:41:09 PST
Comment on attachment 129929 [details]
Patch

Clearing flags on attachment: 129929

Committed r109610: <http://trac.webkit.org/changeset/109610>
Comment 6 WebKit Review Bot 2012-03-02 13:41:15 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Simon Fraser (smfr) 2012-04-23 13:39:24 PDT
This apparently caused bug 84533.