;
        });

        test('layout-end-aligned', function() {
          container.classList.add('end-aligned');
          assert.isTrue(positionEquals(container, 0, 300, 0, 120), "container position ok");
          assert.isTrue(positionEquals(c1, 150, 200, 0, 50), "child 1 position ok");
          assert.isTrue(positionEquals(c2, 150, 200, 50, 100), "child 2 position ok");
          assert.isTrue(positionEquals(c3, 200, 250, 0, 50), "child 3 position ok");
          assert.isTrue(positionEquals(c4, 200, 2