Open
Bug 945600
Opened 12 years ago
Updated 3 years ago
Should allow interpolation between different-length background-position lists
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: bzbarsky, Unassigned)
Details
(Keywords: testcase)
Right now we end up just bailing out from nsStyleAnimation::ComputeDistance if the two background-position lists have different lengths. But if I read the spec right it should animate as http://dev.w3.org/csswg/css-transitions/#animtype-repeatable-list which should allow interpolation between different-length lists, right?
![]() |
Reporter | |
Comment 1•12 years ago
|
||
A simple testcase:
<div style="background: url(http://www.mozilla.org/images/mozilla-banner.gif) no-repeat;
animation: slide 15s linear infinite;
-webkit-animation: slide 15s linear infinite;
height: 200px"></div>
<style>
@keyframes slide {
0% { background-position: 0 0, 0 0; }
100% { background-position: 200px 0; }
}
@-webkit-keyframes slide {
0% { background-position: 0 0, 0 0; }
100% { background-position: 200px 0; }
}
</style>
Updated•12 years ago
|
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•