Turn on dom.animations-api.getAnimations.enabled in release channels
Categories
(Core :: DOM: Animation, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: birtles, Assigned: birtles)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
I think that after bug 1619516 is fixed and I get a few more spec edits in we should be ready to turn this on by default.
Boris, does bug 1615083 need to block this?
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 3•5 years ago
•
|
||
OK. I just write a test (https://jsfiddle.net/borischiou/wgsbpujr/):
target::before {
margin-left: 10px;
}
<div id='target'></div>
const d = document.getElementById('target');
const effect = new KeyframeEffect(null, {opacity:['0.5', '1']}, 10000);
const anim = new Animation(effect, document.timeline);
anim.play();
effect.target = d;
effect.pseudoElement = '::before';
console.log(d.getAnimations({subtree: true}));
console.log(document.getAnimations());
I got one animation from both.
Comment 4•5 years ago
|
||
Sorry, it seems document.getAnimations()
and element.getAnimations()
work well by my test. So comment 1 and comment 2 are not the issue. Perhaps bug 1615083 shouldn't block this I think.
Comment 5•5 years ago
|
||
Can this wait until next week so it rides to 76? We're trying to avoid pref changes in the last few days of a nightly cycle.
Assignee | ||
Comment 6•5 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #5)
Can this wait until next week so it rides to 76? We're trying to avoid pref changes in the last few days of a nightly cycle.
I'm afraid we're targeting 75 for this in order to synchronize with Apple and Google's release plans.
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Comment 8•5 years ago
|
||
This also removes the comment about CSSPseudoElement since that is now covered by a
separate pref: dom.css_pseudo_element.enabled.
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
I'm pretty sure Safari is shipping CSSTransition
and CSSAnimation
to non secure contexts but let me check...
Assignee | ||
Comment 10•5 years ago
|
||
Confirmed that Safari Tech Preview 102 exposes these in non-secure contexts.
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Comment 13•5 years ago
|
||
Documentation complete for this bug; see:
- https://github.com/mdn/sprints/issues/2933#issuecomment-604386088
- https://github.com/mdn/sprints/issues/2933#issuecomment-610839764
For details of what changes were made.
Description
•