mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-28 20:55:39 +00:00
02a6ea7d52
MozReview-Commit-ID: 8VTAl9WO7eF --HG-- extra : rebase_source : b9f7f257a7509ad26d839644e77b2afc7877cd2f
25 lines
520 B
HTML
25 lines
520 B
HTML
<!doctype html>
|
|
<meta charset=utf-8>
|
|
<script src="../testcommon.js"></script>
|
|
<style>
|
|
@keyframes abc { }
|
|
</style>
|
|
<body>
|
|
<script>
|
|
'use strict';
|
|
|
|
test(function(t) {
|
|
var div = addDiv(t);
|
|
div.style.animation = 'abc 100s';
|
|
var animation = div.getAnimations()[0];
|
|
assert_equals(animation.id, '', 'id for CSS Animation is initially empty');
|
|
animation.id = 'anim'
|
|
|
|
assert_equals(animation.id, 'anim', 'animation.id reflects the value set');
|
|
}, 'Animation.id for CSS Animations');
|
|
|
|
done();
|
|
</script>
|
|
</body>
|
|
</html>
|