querySelector('table');

    const tfoot = contentDocument.createElement('tfoot');
    tfoot.innerHTML = '<tr><td><custom-element>hello</custom-element></td></tr>';

    assert_array_equals(element.takeLog().types(), ['constructed']);
    assert_equals(tfoot.innerHTML, '<tr><td><custom-element>hello</custom-element></td></tr>');

    assert_equals(table.tFoot, null);
    table.tFoot = tfoot;
    assert_array_equals(element.takeLog().types(), ['connected']);
}, 'tFoot on HTMLTableElement must enqueue connect