
    assert.equal(r_1.root.activeElement, r_1_1_l, 'r_1.root.activeElement === r_1_1_l');
    assert.equal(r_1_0.root.activeElement, null, 'r_1_0.root.activeElement === null');
    assert.equal(r_1_1.root.activeElement, null, 'r_1_1.root.activeElement === null');
  });

  test('setting activeElement on document has no effect', function() {
    r_1_1.focus();

    // throws on some browsers only
    try {
      document.activeElement = "abc";
    } catch(e) {
      // no need to do anything
    }
    assert.