Closed
Bug 1335545
Opened 8 years ago
Closed 7 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•8 years ago
|
||
Elements don't have animation attribute, do they?
Reporter | ||
Comment 2•8 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•8 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•8 years ago
|
||
Note that this is related to 3 in bug 1340938 comment 0.
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Comment 5•7 years ago
|
||
Fixed by bug 1341985.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•