Bug 71623 - animation-timing-function falls back to ease when overriding animation-name
Summary: animation-timing-function falls back to ease when overriding animation-name
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Normal
Assignee: Nobody
URL: http://jsfiddle.net/leaverou/zXPzY/44...
Keywords: InRadar
Depends on:
Reported: 2011-11-06 02:21 PST by Lea Verou
Modified: 2012-04-23 13:39 PDT (History)
8 users (show)

See Also:

Patch (6.73 KB, patch)
2012-02-29 13:41 PST, Igor Trindade Oliveira
simon.fraser: review+
webkit.review.bot: commit-queue-
Details | Formatted Diff | Diff
Patch (6.76 KB, patch)
2012-03-02 11:28 PST, Igor Trindade Oliveira
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
Comment 2 Igor Trindade Oliveira 2012-02-29 13:41:53 PST
Created attachment 129511 [details]

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

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

New failing tests:
Comment 4 Igor Trindade Oliveira 2012-03-02 11:28:08 PST
Created attachment 129929 [details]

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

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.