Closed
Bug 827698
Opened 12 years ago
Closed 11 years ago
[css3-animations] determine the number of animations using the length of the 'animation-name' list
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: dbaron, Assigned: dbaron)
Details
Attachments
(1 file)
8.81 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
We currently determine the number of CSS animations based on the longest animation-* property, rather than the length of the animation-name list, as we should. I suspect this is a case where I concluded the spec was wrong, sent comments to www-style, and then implemented what it said instead of what it should say... and then by the time the spec got fixed, forgot that I'd done that. Hopefully most users of animations are using the animation shorthand, and are therefore unlikely to run into compatibility issues; there is a risk of that, though.
Assignee | ||
Comment 1•12 years ago
|
||
http://dev.w3.org/csswg/css3-animations/#animation-name-property is the relevant bit of spec: If the lists of values for the other animation properties do not have the same length, the length of the ‘animation-name’ list determines the number of items in each list examined when starting animations. The lists are matched up from the first value: excess values at the end are not used. If one of the other properties doesn't have enough comma-separated values to match the number of values of ‘animation-name’, the UA must calculate its used value by repeating the list of values until there are enough. This truncation or repetition does not affect the computed value.
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #699011 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•12 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=e63a1700f149
Comment 4•11 years ago
|
||
Comment on attachment 699011 [details] [diff] [review] Use the length of the 'animation-name' list when determining how many animations to run. r=me
Attachment #699011 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/fb69b7be1c0e
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fb69b7be1c0e
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fb69b7be1c0e
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fb69b7be1c0e
You need to log in
before you can comment on or make changes to this bug.
Description
•