language governing permissions and
limitations under the License.
-->

<!DOCTYPE html><meta charset="UTF-8">
<div id="anim"></div>

<script src="../bootstrap.js"></script>
<script>
"use strict";

var elem = document.getElementById("anim");
var animFunc = {left: "100px"};

// Test that Animation is constructed with no parent.
var child = new Animation(elem, animFunc, 1);
test(function() {assert_equals(child.parent, null)},
    "Child should have no parent");

// Test that group is constructed with zero child