Open Bug 536540 Opened 14 years ago Updated 7 months ago

support animation of CSS gradient values in nsStyleAnimation


(Core :: CSS Parsing and Computation, defect)





(Reporter: dbaron, Unassigned)


(Blocks 1 open bug)


(Keywords: dev-doc-needed)


(3 files)

We should support animation of CSS gradient values (i.e., -moz-linear-gradient, -moz-radial-gradient) in nsStyleAnimation.

There's still some open debate on how animation of gradients should work.

(I don't have work in progress on this, but I'm trying to get bugs filed on animation/transition work that should happen for 3.7.)
See also bug 536541 on SVG gradients.
Blocks: 589920
Blocks: 594151
Gradient interpolation is now defined by the spec:
/me want to help.

But i do not know where to start.

I need to animate the -moz-radial-gradient.
Attached file Test-case.html
Attached image IE10.gif
Attached image Chrome&Safari.gif
In this test case[1]:

* IE10 has supported gradient animation.
* Chrome and Safari has supported image animation(Like cross-fade()[1]).
* Firefox at least should do a simple transition(direct display of different images), rather than nothing.

Related animation how to calculate the spec here[2], The current spec is already CR.

Severity: normal → S3

The severity field for this bug is relatively low, S3. However, the bug has 19 votes.
:emilio, could you consider increasing the bug severity?

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.