Closed
Bug 1335545
Opened 9 years ago
Closed 9 years ago
stylo: CSS animation doesn't start painting if animation property is specified in script
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: hiro, Unassigned)
References
(Blocks 1 open bug)
Details
<style>
#target {
animation: anim 1s;
}
</style>
Above works but below does not work.
element.animation = 'anim 1s';
Comment 1•9 years ago
|
||
Elements don't have animation attribute, do they?
| Reporter | ||
Comment 2•9 years ago
|
||
(In reply to Xidorn Quan [:xidorn] (UTC+10) from comment #1)
> Elements don't have animation attribute, do they?
Oops sorry. I meant element.style.animation =.
I have notice the cause of this issue. That cause is that element remains in EffectCompositor::mElementsToRestyles. We had to skip 'elementsToRestyle.Put(key, true)' in EffectCompositor::RequestRestyle().
| Reporter | ||
Updated•9 years ago
|
Summary: stylo: CSS animation don't start painting if animation property is specified in script → stylo: CSS animation doesn't start painting if animation property is specified in script
| Reporter | ||
Comment 3•9 years ago
|
||
Note that this is related to 3 in bug 1340938 comment 0.
Updated•9 years ago
|
Priority: -- → P3
| Reporter | ||
Comment 5•9 years ago
|
||
Fixed by bug 1341985.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•