WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
73113
From @keyframes rules with the same name, the last rule should be used
https://bugs.webkit.org/show_bug.cgi?id=73113
Summary
From @keyframes rules with the same name, the last rule should be used
Roland Steiner
Reported
2011-11-24 23:43:10 PST
http://www.w3.org/TR/css3-animations/
specifies that if there are multiple @keyframes rules with the same name, the last one should be the one used. Currently the first one is used.
Attachments
Patch
(4.42 KB, patch)
2011-11-24 23:48 PST
,
Roland Steiner
simon.fraser
: review+
simon.fraser
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Roland Steiner
Comment 1
2011-11-24 23:48:57 PST
Created
attachment 116569
[details]
Patch
Simon Fraser (smfr)
Comment 2
2011-11-28 11:50:26 PST
Comment on
attachment 116569
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=116569&action=review
> LayoutTests/animations/duplicated-keyframes-name.html:31 > + -webkit-animation-name: "anim"; > + } > + @-webkit-keyframes "anim" { > + from { left: 50px; } > + to { left: 100px; } > + } > + @-webkit-keyframes "irrelevant" { > + from { left: 150px; } > + to { left: 2500px; } > + } > + @-webkit-keyframes "anim" { > + from { left: 200px; } > + to { left: 300px; } > + }
Keyframe names are IDENT, not STRING, so should not be quoted.
Roland Steiner
Comment 3
2011-11-28 20:06:41 PST
Committed
r101321
: <
http://trac.webkit.org/changeset/101321
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug