ntDocument.createElement('thead');
    thead.innerHTML = '<tr><td><custom-element>hello</custom-element></td></tr>';

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

    assert_equals(table.tHead, null);
    table.tHead = thead;
    assert_array_equals(element.takeLog().types(), ['connected']);
}, 'tHead on HTMLTableElement must enqueue connectedCallback when inserting a custom element');

t